问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/20886973/error-when-validating-ios-app