Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS validation got Main_iPhone~iphone.storyboardc was not found

Tags:

ios

xcode5

I am trying to distribute my iOS app, and I got the following error message during xCode validation. "storyboard file 'Main_iPhone~iphone.storyboardc' was not found please ensure the specified file is included in the bundle with any required device modifiers appended to the filename". Need some advices...

like image 939
hook38 Avatar asked Nov 09 '13 06:11

hook38


2 Answers

Remove the storyboard from the plist file if you use iPad

<key>UIMainStoryboardFile</key>
<string>Main</string>

or if you use iPhone

<key>UIMainStoryboardFile~ipad</key>
<string>Main</string>
like image 198
fnxpt Avatar answered Nov 20 '22 17:11

fnxpt


I solved it by going to Target -> Build Phases -> Copy bundle resources, and add the Main_iPhone.storyboard file.

like image 3
hook38 Avatar answered Nov 20 '22 17:11

hook38