I am attempting to validate my iOS project before uploading it to the App Store. It's an iPhone app that runs fine in the simulator and on my iPhone test device. It works fine in iOS 6.1 and iOS 7.
When I run the Validate check in Xcode Organizer, I repeatedly get 1 error and 1 warning.
Error is:
Storyboard file 'MainStoryboard_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.
Warning is:
Missing recommended icon file. The bundle does not contain an app icon for iPhone/iPod Touch of exactly '120x120' pixels, in .png format.
I have spent days (weeks?) searching for an answer to similar questions that might resolve the error message. Nothing works ... and I've tried a lot of things that seemed to have worked for others.
Perhaps there really is something wrong in my code / bundle creation ... help! I can't find it. Since I get the same 2 messages every time I try and validate the project, no matter what I change, I'm starting to wonder if, somehow, the changes I'm making are not making it through to the bundle that is getting validated each time?
Goto your Project view, click Targets, goto General tab and look at Deployment Info settings. In the Devices selection box, you will see iPhone in your case.
Perform the next steps:
Problem should be solved now.
To fix the error, just open the project's info.plist file and remove the value for the key Main storyboard file base name (iPad)
(or UIMainStoryboardFile~ipad
).
Also, you should be able to fix the warning by adding an app icon of the size/type specified in the warning message.
Don't forget to re-archive after making these changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With