Error While submitting app to app store : ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - app-store

My app development target is 8.0.
I am getting error while submitting app to app store and error is :
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."

Related

ios7 and later causes image icon errors

I sucessfully submitted my app written in swift. That app was targetted for ios8 and later. Now I want to submit the same app for ios7 and later and I have a big problem. I do not know how to solve this. Error message is:
Your binary is not optimized for iPhone 5 - New iPhone apps and apps 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 UILaunchImageSize value set to {320,568}. Launch images must be PNG files and located at the top-lvel 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/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/dpc/uid/TP40006556-CH14-SW5' and the 'iOS App Programe Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'.
I'm pretty sure you need to add all the image formats prior to IOS 7, could be wrong...
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/

ios registering document in document files

I am working on app that reads gpx (topografix) file attached to an email. I have successfully registered this document type to my app so whenever I select such a file I get the option to open it by this app on iPhone. It works fine on my iPhone but on iPad my app is not recognised for opening such a file so my app does not appear on the list of apps that are capable to open it. This app uses iPhone environment and is set for iPhone not for universal environment. By changing on universal environment does not change anything. Why is my app not recognised in the list?
Well the conversion of an iphone app to ipad app has to be done if you want to make it universal.
refer this

How to submit Two binary(iPhone and iPad) files for same project in App Store?

I have created Map application for iPhone and I developed same Map application on iPad too by my client requirement. Now I have same Map app project but two .ipa files one for iPhone and another for iPad.
I have already put iPhone version on iTune and it showing status "waiting for review"
1>Now I want to put my iPad version app on iTune with the same project name. How this can be achieve?
2>What Setting should I do in plist file and with xib files?
If there is universal app iPhone/iPad then in app store we can see both iphone and iPad app having same project name...So in my case what steps should I follow. Plz suggest
You can't upload two binary versions of the same app under the same name.
You either have to make a universal app (meaning iPhone/iPad app in one app) or submit under another name.
Start reading this: http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedAppTricks/AdvancedAppTricks.html
You can submit multiple apps from the same Xcode Project by using multiple Targets, and editing the Bundle ID suffix of each Target so that each Target has a unique Bundle ID. You might also want to change the Product name for each Target in the Build settings so that your apps will have different bundle file names.
Note that, unless the iPad version is different enough (uses iPad only APIs for instance) from the iPhone version, it has been reported that Apple might reject a nearly identical iPhone/iPad pair of apps and request that you submit a single Universal build instead.
If you wanted your iPhone and iPad project to be in the same app, you should have built it that way.
However, if you did specifically want a separate iPhone and iPad app, then you should make the difference clear in the names of each app.
There are many companies who have both iPhone and iPad apps on the appstore. Generally, the iPhone app is just called 'appName' and the iPad version is usually called 'appName for iPad'.
Examples of this are:-
Skype and Skype for iPad
Ebay and Ebay for iPad
If you want the application to have the exact same name in iTunes Connect, you will have to make it a universal app.
You can cancel the "waiting for review" and submit your universal binary instead:
Can I reject a binary that has already been submitted for review?
Yes. You are permitted to reject your binary, to remove it from the
Apple review queue, when your app is in one of the following iTunes
Connect states:
Waiting For Review
In Review
To reject your binary, simply click the Reject Binary button. After
the binary has been rejected, you can then indicate you are ready to
submit another binary through Application Loader, by clicking on the
Ready to Upload Binary button.
Please note that if you reject a binary that is Waiting For Review or
In Review, your review time will be reset and you will start over from
the beginning once you submit a new binary.
iTunes Connect FAQ
However, if you absolutely need to have two seperate applications, you can create a new app in iTunes Connect and name it for example "[your app] for iPad" or "[your app] HD" or something similar like a lot of apps you see on the store.
Are there any particular reasons you aren't submitting a universal application ?
It would have been better if it was a universal app.
In itunes Connect you cant create/re-use apps-name,sku number,bundle-identifier. You could submit a universal app as update.
If you still want multiple apps, Then you will have to create multiple apps in itunes connect with different name, sku number and bundle-id,
But note one thing the name of the application installed in the device is what you give on xcode, not the one in itunes connect. So I guess you could only give that much similarity.
PS if create a app with details{apps-name,sku number,bundle-identifier} and you delete without publishing also, you cant reuse these again.
So tell client the best(may be only possible) solution is Universal app.
if you have the same application for both iphone and ipad, for iphone app name will be - [appliction name], for ipad it should be - [application name ] HD

Itunes Connect Invalid Binary

I submitted my app in the App Store. First I validated it, and turns out successful. Then I submitted it and succesfully uploaded to iTunes Connect. After a minute, it says that the file is Invalid binary. I am uploading an update of an existing app which is already published in the App Store. (previous version uploaded by other developer). I tried every solution that I found in google search but no luck.
Just for information.
Today I faced the same problem of Invalid Binary while uploading new version of existing application.
I got following email from apple
iPhone 5 Optimization Requirement - Your binary is not optimized for
iPhone 5. As of May 1, all new iPhone apps and app updates
submitted must support the 4-inch display on iPhone 5. All apps must
include a launch image with the -568h size modifier immediately
following the portion of the launch image's filename.
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 and iOS App
Programming Guide.
Once these issues have been corrected, go to the Version Details page
and click "Ready to Upload Binary." Continue through the submission
process until the app status is "Waiting for Upload." You can then
deliver the corrected binary.
Solution:
Added 4inch app screen shots in iTunesconnect meta data
Added Default-568h#2x.png image in my application for iPhone 5
After these changes application successfully submitted.
Need to add arm64
I faced the same problem of Invalid Binary while uploading new version of existing application.
The reason are from February 2015 itself we need to Add arm64 to our app. i added this then my app successfully upload to app store.
Try to check the provisioning you made for the itunes store are correct with your application.
Remove the old binary which has been rejected then add the new one.
If you can do try to make fresh provisioning and also check in the xcode as well.
And do check the mode,is that debug or distribution as you need to make the build for distribution.
Hope it man help you.
Cheers
Sanjay
You cannot submit an app that uses the same bundle ID or the same app name of any app (even the "same" one) submitted by another developer account.
Make sure you have choosen "App Store" as distribution method in distribution provisioning profile, not "Ad Hoc".
I have faced this issue many times.My app got passed validation and submitted
successfully to iTunes Connect.But It shows invalid binary in prerelease
options.I saw one awesome post in Apple discussions and finally solved my
issue.App bundle id was changed in config file of my web app.I have changed
old bundle id in config.xml and app uploaded for review.
Try using the Application Loader under /Developer/Applications/Utilities. Make sure you have created a New App in iTunesConnect...under Manage Applications, select the application you are going to create an update for... when that loads on the right you will see Add a New Update.

itunesconnect iphone app status - invalid binary

Whenever I submit my app to itunesconnect, after about 10 minutes, the status changes to "Invalid Binary" with absolutely no explanation why.
I have searched all over for answers there is non. I even re-installed XCode and App loader.
Note that App Loader doesn't give any errors whatsoever.
I build with XCode 3.2.3 iPhone 4 GM Seed iPhone 4 based SDK iPhone/iPad as a target family
I had the same INVALID BINARY error from iTunes Connect even if Application Loader accepted my binary. The solution was very simple...
Open your info.plist, right-click and check Show Raw Key/Values:
CFBundleIconFile = Icon.png (my iPhone 57x57 PNG icon)
CFBundleIconFile~ipad = Icon-72.png (my ipad 72x72 PNG icon)
CFBundleIconFiles = array
Item 0 = Icon.png
Item 1 = Icon#2x.png (my iPhone 4 114x114 PNG icon)
Item 2 = Icon-72.png
Save, clean all targets, build and analyze, compress in Finder and resubmit!
The error was caused because I typed the key "Icon Files". In Raw view, this has mapped to "Icon Files" instead of CFBundleIconFiles. I have Xcode 3.2.3, I guess Xcode 3.2.4 better maps this key identifier.
Good Luck everybody!
Source: Technical Q&A QA1686: App Icons on iPad and iPhone
The "invalid Binary" did cost me 4 days to figure out. and because I stumbled over this helpful page, I want to help saving you the valuable time. In my case, in the provisioning portal, a colleague revoked the distribution cetrificate, built a new one and did not let me know. You can use the new certificate for making new prov files, and in the build process, xcode "thinks" everything is all right. which of course is not. Only after uploading to the itunes connect you see the "Invalid Binary" note without further explanantions. The solution was to revoke the certifikate (again) with the whole certificate request procedure and make a new one. Use this as the certificate, and you will be fine - no more uncommented "Invalid Binary" - and if you share tzh eteam agent access to the portal with others, make sure, you let them know and hand over your new .p12 key file.
The topic is old but i had the same problem today and maybe my explanation will help somebody in future.
While submitting app by Xcode 4 organizer you have to choose distribution profile. Make sure this is exactly the same profile which you set in build settings (project and target). For almost all my projects i didn't have to change build settings from development to distribution and it was fairly enough to choose distribution only in organizer while submitting. But in one case this resulted "Invalid Binary" error in iTunes Connect.
Apple has improved the error reporting on this recently and now you will get an email that highlights the problem accordingly. Just be patient it may take a few minutes to come in. I received the following email which highlighted the problem:
Dear Developer,
We have discovered one or more issues with your recent binary submission for "XXX.APP". Before your app can be reviewed, the following issues must be corrected:
Invalid Icon Path - No icon found at the path referenced under key "CFBundleIcons": xxxIcon.png
Once these issues have been corrected, go to the Version Details page and click Ready to Upload Binary. Continue through the submission process until the app status is Waiting for Upload and then use Application Loader to upload the corrected binary.
Regards,
The iTunes Store Team
I had this same problem and here is how I resolved it:
The CFBundleIconFile is not listed instead Icon File and Icon Files. Change the Icon File to the Icon Files selection. Now click the left arrow next to the Icon Files label to expand the list. You will see Item 0, select Item 0 and then click the plus button to the right to add another item. You should then see Item 1. Enter your 56x56 icon file name in Item 0 and your 72x72 icon file name in Item 1. Save the info list
Since I want this app to be both Iphone/Ipad I choose:
Architecture as Standard (you will get a warning but if you change to only armv7 for a no warning build, the binary will be rejected by itunesconnect)
Base sdk as 3.2
Target Device family as Iphone/iPad
iOS Deployment Target as 3.2
Now build for app store distribution, compress and upload to itunes connect.
I had the same problem. App stucks in "Upload Received" status for more than 5 days. After contacting the Itunes Connect Support with the topics "Manage Your Applications" and "Upload received" and answering unnecessary questions, the App Status changed back to "Invalid Binary". After searching for solutions which recommended to check the icons files I found another tip to check the certificate.
That was my solution: I recreated a distribution certificate with Mac's KeyChaining tool and now used a RSA private key instead of DSA. That helped. I re-uploaded the App and the status changed to "Waiting for Review" few minutes later.
I came here for the same issue, tried the App Launcher update, et cetera. I tried rebooting and resubmitting a dozen times, manually editing the info.plist again and again. For me the solution was noticing that there is now an "Icon files" AND and "Icon files (iOS5)" entry. Check both of these for a bad reference to moved icons.
Did you zip the binary? Might want to try that.
From the iTunesConnect Developer Guide:
Application Binary and Small App Icons
Keep the file size as small as
possible, both for ease of upload
through iTunes Connect, and for the
end-user’s purchase experience. The
binary must be a zipped file, and pass
a code sign check upon upload in
iTunes Connect.
iPhone and iPod touch:
If you are uploading an app to run on
iPhone and iPod touch, the binary must
include an icon that is 57x57 pixels,
which will be displayed on the home
screen and the App Store when viewed
from the iPod touch and iPhone. You
can also optionally include a hi-res
icon that is 114x1144 pixels to take
advantage of the Retina display on
iPhone 4.
iPad: If you are uploading
an app to run on iPad, the binary must
include two icons: one that is 50x50
pixels and one that is 72x72 pixels,
which will be displayed on the iPad
home screen and the App Store when
viewed on the iPad.
If all else fails, reboot, reboot, reboot. I ended up rebooting and resubmitting five times (making no other changes, honestly) before my app was accepted.
A couple of other things to try.
if you have an old xcode 3.2 Entitlements.plist file hanging around.
Delete it and recreate > New File > Code Signing > Entitlements.
Check the configuration for Archiving
Product > Edit Scheme > Archive > Build Configuration
Make sure the correct one is selected. (for me Release was selected but I needed Distribution profile - yours may vary)
your Binary final rejected because of some basic reasons.
like,
1)Check For 'icon files' option in info tab of project.
if your app is Universal icon files should be 4 or <4 *must not more then.
if your app is for one device only the icon file should be 2 or <2. *must not more then.
Icon files should be as per itunes Guide. itune guide Link
2)Must check that for splash screen if your app does not have any splash then also give blank splash screen.in universal set for both device.
3) if you are updating app then check for binary version of previous uploaded app and your app.your app must have grater version then uploaded.
4) check for Bundle name and version also.