Did you get the below email after trying to submit your NativeScript iOS app to iTunes Connect?
Dear developer,
We have discovered one or more issues with your recent delivery for “#####”. To process your delivery, the following issues must be corrected:
This bundle is invalid – The Info.plist file is missing or could not be parsed. Please check it for embedded control characters.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
It can be really irritating but the fix is pretty simple. This happens when odd characters or weird adjustments are made dynamically to the plist.info file attached to your bundle. To get rid of this annoying rejection you should do a few things.
- Make sure you are setting as much info as you can manually in your app/App_Resources/iOS/info.plist file. This file is used to generate the xcode.project file’s included plist. Avoid adjusting the generated plist.info file as much as possible and do this pre-emptively before each build including updating your CFBundleShortVersionString and CFBundleVersion keys to latest version.
- Now runs tns platform remove ios then re-add with tns platform add ios
- Finally run tns prepare ios
You should be good to go and no more rejection (for that at least)!