I am trying to publish an iOS application, however I receive these error when I try to validate my build:
Nib file 'Main-iPad~.nib' was not found. Please ensure the specified file is included in the bundle with any required device modifiers appended to the filename
Invalid Info.plist: The Info.plist may contain either UIMainStoryboardFile or NSMainNibFile, but it must not contain both keys. For more information, refer to the Information Property List Key Reference.
It seems you have some stale entry in your Info.plist. Inspect it and delete the "Main nib file base name". Also make sure the nib file is not included in your target.
I assume you are using storyboard, so you need to remove the nib file.
Related
Hello i am getting an error when i try to upload my project on App Store
error
Invalid Info.plist: The Info.plist may contain either UIMainStoryboardFile or NSMainNibFile,
but it must not contain both keys. For more information, refer to the Information Property List Key Reference.
With error code STATE_ERROR.VALIDATION_ERROR.90147 for id e7bdf8bd-3c1e-4b8b-8d9b-9e5054018f27
I don't see any UIMainStoryboardFile or NSMainNibFile on Info List as i shared the photo
i have any storyboard file also.
This is the my info.plist fileI am getting this error while archiving my code.
ERROR ITMS-90771: "Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'. For more information, refer to the Information Property List Key Reference at https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html."
I have tried all the solutions on stackoverflow to add a key to the plist file, but nothings working.
I have the error: "ERROR ITMS-90029: "Storyboard file 'Main_iPad~ipad.storyboardc' was not found. Please ensure the specified file is included in the bundle with any required device modifiers appended to the filename.", When I try to submit to the app store from xcode.
I've tried all solutions that I found posted in stackoverflow with no luck.
I've removed the value for the key Main storyboard file base name in the project's info.plist file. and also I've delete the entry since it's no design for ipad, but it did not work.
I generated the IPA file and try to submit with aplication loader but produces the same error.
I was having the same issue and I resolved it by doing this:
Remove Main_iPad~ipad.storyboardc from info.plist (you already did this)
Remove your Apple ID in account Xcode->Preferences->Accounts
Close and reopen Xcode.
Add your Apple ID again (If you were using a #me account, change it for #icloud).
Clean, build, archive.
Upload to iTunes from Xcode or export the IPA and then use Application loader. In my case it worked unchecking the bottom left corner option ¨send bit code".
I have a custom key in Info.plist that I would like to modify during resigning. Is this possible?
I have tried unzipping the ipa and setting the value for my custom key using terminal but when I tried to side load it through iTunes, it did not install.
Got it. Modifying Info.plist invalidates the signature on the ipa. I just had to resign after modifying the file and it works now.
How can I change the application's name without changing it's bundle identifier?
I've tried changing the bundle identifier in the .plist file so it will remain the same, but when trying to run the application i get an error in xcode stating:
No such file or directory (/Users/myUserName/Library/Developer/Xcode/DerivedData/OLD_APPLICATION_NAME-hhknzcpmarwfwldirezkiexvenqp/Build/Products/Debug-iphoneos/NEW_APPLICATION_NAME.app/NEW_APPLICATION_NAME)
This only happends when running on device. On simulator it works fine.
Found answer to my own question. See answer below as I can't accept it for another couple of days.
So I had to change the app's name after having changed the provisioning profile to one that didn't match my application's name.
So I only needed to change the name of the application that's being displayed on the device home-screen.
This can be done by only changing the Bundle Display Name, found in the .plist file. Thanks for your quick responses anyway.
You should change the CFBundleDisplayName in the apps Info plist file. This value is what the iOS spring board uses underneath each app. This can also be localised.
Change the bundle name .bundle identifier is for the provisioning profile.