iOS App being rejected by apple straight after upload - Invalid Image - iphone

Evening,
Going crazy about this, getting the following message straight after upload.
I've checked the icons, the icon file names in the info.plist, launch images, image compression etc
Any ideas what i've missed?
Dear developer,
We have discovered one or more issues with your recent delivery for "APP X". To process your delivery, the following issues must be corrected:
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 a square icon of exactly 57x57 pixels.
If your application supports the iPad device family, you must include a square icon of exactly 72x72 pixels.
For Mac OS X applications, icons included in the binary submission must be in the ICNS format and must include a square 512x512#2x image.
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.
Regards,
The App Store team
Any help would be great!
Thanks

Check the complexity/file size of your images. It sounds strange, but I've experienced this problem myself today.
Our 1024x1024 large app icon that had previously been fine was suddenly rejected. The icons we're using are quite simple (black and white company logo), so I added a little complexity to bring up the file size, and then the icon was accepted.
As the only difference was file size (dimensions, DPI, RGB format hadn't changed), I assume Apple is now checking for a minimum size for this icon, and it wouldn't surprise me if the same was being applied to the in-app icons.

I've seen images go corrupt sometimes, it is worth removing all of your app icons and adding them back to your project from the original source.
Also check your target's Info plist under the "Icon files" and "Icon files (iOS 5)" sections. Make sure they contain the correct filenames

Set Architecture to "Standard (armv7, armv7s)", Base SDK to "Latest iOS (iOS 6.1)" and Deployment Target to "4.3", or more recent.
Binaries are now rejected if using armv6, SDK 5.1 and target below 4.3.
At time of writing Xcode version is 4.6.3.

Open up your .ipa file and look for any extra images that may have been included. The .ipa is just a zip file, so from the terminal, unzip it, eg:
unzip /path/to/myapp.ipa
You can also check your project in Xcode. Select the project in the navigation pane, select the app target in the content pane, then go to the "build phases" tab and look at the "copy bundle resources" section. Browse through it to find your "rogue" image.

I just ran into the same error message earlier today and in my case it turned out that when your icon is completely in grayscale (has no colored pixels), it will automatically get rejected. Unfortunately the message gives zero indication that this might be an issue. Once I adjusted the color balance slightly towards red, I got to the next stage in review.
I ran into the same thing when I had submitted my "big icon" (1024x1024). That was a little less mysterious, as they at least mentioned "RGB" color requirements. Of course in normal language that still doesn't mean that grayscale is verboten, but there you go.

It was today exactly the same issue.
I tried to make the app with support iOS target 3.1.3 and support 6.1 using SDK 5.1 and 6.1 together. It was my usual success way.
So, my solution: to use the standard way with target iOS 4.3 without SDK 5.1.
Now it's in order. Well, sometimes it is not the problem with icons, but the using old SDK.

Related

Xcode ERROR ITMS-90022: Missing required icon file. The bundle does not contain app icon 120x120, 167x167, 152x152

I've been searching for a solution to this Xcode issue for hours! I realize there are a bunch of posts on stack overflow with the same issue, but most of them are outdated (Xcode 9 or earlier and from 2016/2017). Does anyone have a solution to this issue? I am running Xcode 11.4.1 and all of the AppIcon images are correctly set in the Assets.xcassets folder. The application runs fine when building to simulator/iPhone and it was uploading to AppStoreConnect with the same settings last version of my app (a few weeks ago).
Answer: Don't include special characters in your app's Display Name. I'm not sure how they're connected, but the Display Name on my application had ~ in the title and after changing from ~title~ to title the build uploaded and this error message went away. Hope this helps someone ~lol~
The error is confusing because the 120x120 reference doesn't clearly state that you need to fix the "60pt" app icon asset in a 2x format.
The iPad version of the error can be solved by turning off iPad as a platform choice. I think it might be good to do that as you troubleshoot.

iTunesConnect - How to retrieve 1024x1024 icon of an existing app?

I've noticed that since iOS 11, the App's "App Icon" asset in the catalog must include a 1024x1024 sized version in order to be submitted to the App Store.
I know that the 1024x1024 icon was previously added directly to the iTunesConnect app page, but I can not seem to get any link or a way to display that icon in full size to grab it from the iTunesConnect page.
How can I retrieve the existing 1024x1024 icon for an app already published? I do not have the PSD file for the original icon.
Dear developer,
We have discovered one or more issues with your recent delivery for
[App]. Your delivery was successful, but you may wish to correct the
following issues in your next delivery:
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.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
EDIT: I made a simple tool for this:
https://erkanyildiz.me/lab/icon1024/
Go to your app's iTunes page:
https://itunes.apple.com/us/app/MyApp/id000000000
Find the URL for your app's icon in the page inspecting source code.
It should be in this format:
http://isN.mzstatic.com/image/thumb/Purple128/v4/xx/yy/zz/xxyyzzaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/source/175x175bb.jpg
Replace last 175x175 part with 1024x1024 and jpg part with png:
http://isN.mzstatic.com/image/thumb/Purple128/v4/xx/yy/zz/xxyyzzaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/source/1024x1024bb.png
Now you can get the original icon.
Note:
Those 2 chars after dimension are used as Image Resize Style.
bb: you can specify any dimension you want, it will return a resized version for dimensions less than 1024x1024. But, if you specify a dimension larger than 1024x1024, it will return 1024x1024 anyway.
cc: it will return the dimension you specify.
ff: it also seems to be a valid option, but I have no idea what it does.
ss: another valid option, and again no idea.

Can two iPhone apps built from the same code use different iTunesArtwork (full version & lite/free version)?

I am currently building a full and a lite/free version of an iPhone app from the same source (along the lines of Creating Lite Versions of iPhone Games / Apps). This works great.
The only thing I cannot figure out is how to have two different iTunesArtwork files included in the respective build (e.g. one with a "lite" stamp on it, one without).
I read App Icons on iPad and iPhone on Apple's page but they don't say what to do with iTunesArtwork. I did include different "Icon.png" etc. files in the two different *.plists I have and this works as expected. But what about iTunesArtwork?
Am I missing something?
It is not required to embed the 512x512 artwork into your bundle. In iTunes Connect you will be able to upload the 512x512 file and you will be able to upload screen captures for the two different apps.
In XCode 4 you can create a group where you put your target specific files and assign them the correct target membership in the identity inspector.
Thus you have always the correct iTunesArtwork in your .ipa file.
This worked for me like a charm.
Hope it helps.

Why does my apps icon disappear after an ad hoc install (iPhone)

I have an app that I'm trying to install via standard OTA ad hoc. On iOS 4.1 The app installs ok. On newer versions (4.3.1 and 4.3.3 tested) the app installs without error, but the icon disappears from Springboard when the install is done. If I restart the device the icon is back.
I have two questions:
Does anyone know what causes this behaviour?
Is this a problem when it comes to App
Store submission?
Edit: It's the whole icon that disappears, not just the graphics. It is not possible to start the app from Springboard.
I think this question is similar to this one:
In-House App Disappears After Install
Give it a try, maybe it helps...
Just spent hours sorting out the same problem.
We deliver our AdHoc build over-the-air.
Turns out that when I changed app ID, I didn't change the bundle-identifier parameter in the OTA installation plist.
You might want to check that both high and standard resolution icon files are entered correctly into the info.plist file.
On older versions of iOS, entering just the standard resolution file name for the "Icon File" Key was sufficient, iOS would select the high resolution file by just adding #2x to the filename.
On newer versions there is the "Icon Files" (note the plural form) Array, where you may enter several files in different resolutions. I experienced similar errors using the "old" style, which were resolved using the new one.
I had this issue and the problem was that our distribution/provisioning certificates had all expired in between when the ipa was created and when it was installed on the device. Renewing all the certificates, rebuilding and redeploying fixed the problem.

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.