Question

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.
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top