Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
319 views
in Technique[技术] by (71.8m points)

ios - "Your binary is not optimized for iPhone 5" (ITMS-90096) when submitting

this is my first ios app and when i try to submit it to the app store it gives me the ITMS-90096 error.

error screenshot

I think i have already uploaded all the right icons and splash screen images. It says something about the launchimage for 4-inch display on iphone-5 but i have no idea where to add it.

here is my launch image source.

launch image source

i am fairly new to ios development i have a small android background and the ios process of adding and submitting apps seems quite alien to me.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Update August 2016

When using Xcode 7+ and targeting iOS 8+ it is recommended to remove the .xib file and create a new LaunchScreen.storyboard by using the given template: Add Files...

And than setting it in the Project File under App Icons and Launch Images: App Icons and Launch Images


Original October 2015 Answer

So like @Aditya Deshmane I also use .xib file as my "Launch Image".

Adding both Default-568.png and Default-568@2x.png to my root directory didn't solve my issue.

I had to add the UILaunchImages key to my Info.plist:

<key>UILaunchImages</key>
<array>
    <dict>
        <key>UILaunchImageName</key>
        <string>Default-568</string>
        <key>UILaunchImageSize</key>
        <string>{320, 568}</string>
    </dict>
</array>

Info.plist As described here: iOS Key UILaunchImages


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...