Xcode IMS 90096 Error While App Submission [duplicate] - ios

This question already has answers here:
"Your binary is not optimized for iPhone 5" (ITMS-90096) when submitting
(17 answers)
Closed 7 years ago.
I have an app working fine on all iphone sizes devices properly. I am trying to upload it to app store. I am using LaunchScreen.xib and not using launch images. I have added it to copy bundle resources to solve the problem but it didn't help.
Also solutions mentioned in other questions didn't help me. The error is like below. Anybody has idea about that error?

This question is already asked before many times.
as mention in this link
“Your binary is not optimized for iPhone 5” (ITMS-90096) when submitting
Check all those images are .PNG
Put those images at root level of your project
Add another splash.png with name "Default-568h#2x.png" for iPhone 5. Its size should be 640 × 1136 pixel.
Ultimately you need to check your images "all are must be in PNG format".
Edit:

Related

2018: ERROR ITMS-90096: "Your binary is not optimized for iPhone 5"

Recently (17 sept 2018) I've got very surprised with following error while uploading ios app:
ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New
iPhone apps and app updates submitted must support the 4-inch display
on iPhone 5 and must include a launch image referenced in the
Info.plist under UILaunchImages with a UILaunchImageSize value set to
{320, 568}. Launch images must be PNG files and located at the
top-level of your bundle, or provided within each .lproj folder if you
localize your launch images. Learn more about iPhone 5 support and app
launch images by reviewing the 'iOS Human Interface Guidelines' at
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."
Launch images in app are in Assets and there were no such problems before for few years! Last successful build was 14 sept 2018. I wonder how this outdated (5-6 years) requirement could happen in fall of 2018?! Did somebody else get this issue recently?
The LaunchScreen file must be called 'LaunchScreen.storyboard', regardless of whether you have specified a name in the plist. Whilst changing the name in the plist will show the correct launch screen, it wont pass this poorly written check.
You can check size of your images with the official Apple page.
https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/launch-screen/
Also I would suggest you to use LaunchStoryboard instead of launch image per each device.
In this way you will avoid mess with missed images for some devices.
You can use one image or even apply some layout for launch screen.
https://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/

Issue uploading to app store

I have a problem with uploading an app to the app store.
I have written an app with swift 4 on xcode 9.2 and after uploading an app using application loader I received the following message from apple team.
Error:
Dear Developer
We have identified one or more issues with a recent delivery for your
app, "sawfish." Please correct the following issues, then upload
again.
Invalid Image - For iOS applications, icons included in the binary
submission must be in the PNG format.
If your application supports the iPhone device family, you must include square icons of the following dimensions: 57x57 pixels.
If your application supports the iPad device family, you must include square icons of the following dimensions: 72x72 pixels.
For macOS applications, icons included in the binary submission must
be in the ICNS format and must include square 512x512 # 2x image.
Best regards,
The App Store Team
I searched about that and found some answers but none of them worked for me.
I put images with 57 and 72 size on CFBundle , Clear , Build and Archive but it is not working for me again .
what is the problem?
If your app is universal(iPad and iPhone) then you should probably put icons in all of these and follow the correct sizes
Try double check your file format if it is .png

MacOS HighSierra: Xcode Build App Icon Error

I have been facing some issue in Xcode 9 uploading my app to AppStore
the error is
"Missing required icon file. The bundle does not contain an app icon
for iPhone / iPod Touch of exactly '120x120' pixels, in .png format
for iOS versions >= 7.0."
"WARNING ITMS-90704: "Missing Marketing Icon.
iOS Apps must include a 1024x1024px Marketing Icon in PNG format. Apps >that do not include the Marketing Icon cannot be submitted for App >Review or Beta App Review.""
and I have searched a lot and I realised too many people had this problem.
But I think mine is somehow different and I think maybe it's about my software update, because I have uploaded the excat same app a few days ago and it was all right.
But now I cant even upload it again.
//ANSWER: -
EDIT : I FOUND THE ANSWER THAT WORKED FOR ME
you know this problem doesn’t have same answer for everyone at all because it can be the result of a bug or the excat thing the error says (missing some icons) you should first check all the reasonable solutions like checking your icons etc but in my case ut was just a bug ... and i opened my info.pillist source code in xcode 8 version of the same project (it was for just two days ago and i didnt make any major changes ) and copy and paste it into my xcode 9 project and it was done...but you have a much easier way too: build your project in Xcode 8.3 ...in the case all of your icons are set you should be good to go
In Assets.xcassets > AppIcon you can find the icon in bottom.
"Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."
Just "command+b" your project with Xcode(8.3.3),then i translate the xxx.ipa with Application Loader ,and it successed. That means you must submit your application with Xcode8.x.x not 9.x.x
I found the Answer
i Replaced all of my Xcode 8 info pilist source code (and yes i handled every needed changes) to Xcode 9 info.pillist and this fixed this problem for me!!!!

Your binary is not optimized for iPhone

I read the answers to questions similar to my question in stackoverflow here, here & here but could not solve my issue.
I get the below error while trying to validate my binary with xCode 5. I sent two month ago another version of this binary and it was accepted and put on the app store. I have the proper launch images for iphone 5 & 6.
It says:
Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320,586}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support....
As you can see this error differs from what was brought up in other questions on this topic.
Any help would be appreciated.
Thanks.
Do you localized your launch images?
If you do, I had some problem for that and found a way to solve it.
https://stackoverflow.com/a/26872153/2632955

Invalid binary - missing 568h file

I am trying to submit my app to Apple Store but I am receiving the "invalid binary" message, informing that is missing the launch image for -568h modifier. But the file is in the package. I checked. Some details:
The launch image are localized but not for all languages. They are present for English and some other languages.
In the simulator and in the testing devices the launch image is displayed correctly.
I checked the sizes and are correct
I am using XCode 4.6.3
I recently installed XCode 5 preview but I am using 4.6.3 command line tools.
There is no UILaunchImageFile entry in the plist file (I am using the Default name).
The images do not appear in the Launch Images panel (after I localized them).
What is going on? I don't have any clue.
Check your file names are like above displayed image.
Found the reason. If the launch image is localized it is necessary to provide the set of images for all languages the app supports. I tried that and Apple accepted my binary.
Looks like you have to ensure there are also default startup images in Base.lproj. I'm guessing they are used if you are running on a device that has a language not directly supported by the app in the other *.lproj folders.
Can anyone clarify this.
Works for me now anyway.

Resources