While I was uploading my app and encountered this error:
ERROR ITMS-90029: "Storyboard file 'Main~iphone.storyboardc' was not found. Please ensure that the specified file is included in the bundle with any required device modifiers appended to the filename".
What happened..? My app supports iPad only and how come it prompted an error on missing iPhone storyboard..?
I guess, there is some problem caused by upgrading the project. Why "Main~iphone.storyboardc"? I opened the .plist file and found this:
Main storyboard file base name: "Main" <=== this value shown in the error message.
Main storyboard file base name: "StoryboardV2" <== this is correct value.
Anyway, the problem can be rectify by
1. Opening the Target > your app. Look for "Devices" in the Deployment Info section. For my case, my value is "iPad".
2. Changing the "iPad" value to "Universal".
3. Set the Main Interface to any value.
4. Click on any source code file to force the new values to be saved to .plist.
5. Open the Devices in the Deployment Info section again.
6. Change the values back to "iPad" and the correct Main Interface value.
7. Archive and upload my app to App Store and the error has gone.
No comments:
Post a Comment