Missing icon and storyboard files, iOS 7 and 8, Xcode 6

384 views Asked by At

I'm trying to submit my iOS app made with Xcode 6 using Application Loader. The app works in the simulator and in my iPhone and passes validation in Organizer. However, from the Application Loader I get errors about missing icons and storyboard files:

  • Missing required icon file.
  • Your binary is not optimized for iPhone 5.
  • Storyboard file 'Main~iphone.storyboardc' was not found.
  • Storyboard file 'Main~ipad.storyboardc' was not found.

I've gone through Stackoverflow and googling, but nothing so far has helped.

enter image description here

I'm targeting iOS >= 7.0 so I'm not sure why I get these errors about the icon files. I have ticked off icons for iPad and iOS < 7.0 and provided all sizes of rest of the icons in Image.xcassets folders AppIcon and LaunchImage. As far as I know, I don't need to specify particular filenames as long as I'm using asset catalogs, where I just drag and drop the icon files. I also provided icons for iOS 6, but it didn't remove the error. I tried to add Default* files as in here, but without luck. The last URL in the error message doesn't work. Could something be missing in info plist?

enter image description here

I tried to rename the storyboard file Main~iphone.storyboard to Main~iphone.storyboardc, but when I build I get the error "Interface Builder Storyboard Postprocessor Error. ibtool could not strip 'Main~iphone.storyboardc' because it is not an Interface Builder document.". For testing I removed support for iPad so I don't know why I get error about the iPad storyboard. Here is the target's the deployment info:

enter image description here

2

There are 2 answers

4
Nimit Parekh On

Can you please try below

going to Target -> Build Phases -> Copy bundle resources, and add the Main~iphone.storyboard file && Main~ipad.storyboard file.

Then Clean the project using command + K and check if there is an error or not for 3rd and 4th Point.

May be resolve like wise.

EDITED

Open the info.plist file for the project as source XML rather a plist, and delete

<key>UIMainStoryboardFile</key>
<string>Main</string>
0
Jussi Jousimo On

I decided not to waste time figuring out what's wrong so I started new project from scratch and now everything works.