I can't submit my App store App because it doesn't see the assets folder. What is the solution? - ios

I'm a rookie. I'm new to swift. that's why I can't do some things. I need your help. What should I write in my plist file so that I can access the assets folder and transfer my application to the app store store. I have a simple application on this link, it is my first attempt. I want to send this to the app store. Can you download and check my application or can you make the solution in the application and forward it to me? Very happy if you help.
Problems:
-"App Store Connect Process Error ERROR ITMS-90704:" Missing Application Icon. PNG format 1024 An app icon of x1024 pixels must be added to the Asset Catalog of apps created for iOS, iPadOS, or watchOS. Without this icon, it cannot be submitted for review
-Operation Error ERROR ITMS-90023: "Package icon is missing. .png format for iOS versions of iPad Pro, does not include an app icon exactly '167x167' pixels for iPad To support older operating systems, including icon maker.plist in the next package from Allah catalog

It seems that your project is missing the "Assets.xcassets" folder(directory). so this might be the error you are facing

Please verify the below things
Make sure the Assets.xcassets is there is project.
Verify that in your project target (under Deployment info) For App Icons and Launch Image option AppIcon is selected. Please refer the following screen shot.
Does app icon is added in Assets.xcassets?.
You need to add App icon with 1024 x1024 size with non-transparent background.
NOTE: Transparent background will not be working as it will throw error while uploading.

Related

Not able to upload IPA after applying App thinning

I have applied App Thinning while creating IPA file in order to recuse the app size. The IPA files for iPhone, iPad are created successfully. If I try to upload the app with Transporter app, Im getting the following error.
Asset validation failed (90704) Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/. (ID: 39b914bd-2d61-4bfb-a021-fd6f542867c8)
Asset validation failed (90190) Invalid Info.plist Key. The key 'UISupportedDevices' in the Info.plist file is not valid. (ID: 4094654a-c9a0-4260-b46b-7fa61d062c16)
I have my 1024*1024 images available in assets catalog.
In my entire app there is no keyword "UISupportedDevices".
Not sure what exactly is the issue. Please help.
I've faced this issue in the past and I think what you are seeing may be due to an xcode issue with images having an alpha channel.
Try to remove alpha channel (see this answer for reference) from your 1024x1024 app icon asset. Replace your asset with this new image.
See if you're able to get your build through. If not, share the outcome here and we'll see where we get to.

info.plist file doesn't appear even though the icons are in the Xcode assets folder

I wanted to make an icon for my application. I want to install an application but I'm getting errors like this. I did the solutions in StackOverflow but there was no solution. Although I have edited my Info.plist file, I get an error:
App Store Connect Operation Error ERROR ITMS-90713: `` Info.plist value is missing. 'CFBundleIconName' is missing a value for Info.plist key 'com.arslantas.erc' in the package. and provide a value for this Info.plist key. For more information see http://help.apple.com/ xcode / mac / current / # / dev10510b1f7. "
App Store Connect Operation Error ERROR ITMS-90022: "Required icon file missing. The package does not contain an exactly '120x120' pixel app icon for iPhone / iPod Touch in .png format for iOS versions> = 10.0. Icon for iOS versions, asset catalog Make sure the Info.plist file contains the appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface"App Store Connect Process Error ERROR ITMS-90023: "Required icon file missing. The package does not contain an app icon in .png format for iOS versions that support iPad Pro, exactly '167x167' pixels for iPad. To support older operating systems, the icon may be required in the package other than an asset catalog. Make sure it contains appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface"App Store Connect Process Error ERROR ITMS-90023: "Required icon file is missing. The package does not contain an exactly '152x152' pixel app icon for iPad in .png format for iOS> = 10.0 versions. To support older operating systems, an icon may be required in a package other than an asset catalog. Make sure that the Info.plist file contains the appropriate entries referencing the file. See. Https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface "App Store Connect Operation Error ERROR ITMS-90704:" Missing Application Icon. A 1024 x 1024 pixel app icon in PNG format must be added to the Asset Catalog of apps created for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review.
image 1
image 2
I tried your code - it builds successfully, no any issues. If you got it when you upload it to apple servers - here I can't help you, I have strong rules and limits for my accounts about it.
Try to remove "Icon Name" item from plist (it's not needed for now), it can help with first issue. If after it second issue still presented - check carefully all images and all sizes in Assets. Try to recreate it from zero, remove all not used images, don't create duplicates. There is no big magic - just carefully work.

Apple Watch icon issue upon submission

I'm trying to submit an iOS app to the App Store (one that supports the new Apple Watch) and I'm having major issues with the required icon files, their names and sizes. I've read the documentation (https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/WatchHumanInterfaceGuidelines/IconandImageSizes.html#//apple_ref/doc/uid/TP40014992-CH16-SW1) and it says to create icons #2x of sizes 48, 55, 80, 88, 172, and 196. What does this mean, Icon-48x48#2x.png (96px x 96px) or Icon-24x24#2x.png (48px x 48px).
When I submit my binary it keeps giving me errors... ERROR ITMS 90394 Missing Icon ... ERROR ITMS 90392 Invalid Icon
Could some please explain Exactly what icon names and sizes I need to include please?!?
I've guessed and checked for hours ... Icon-48x48#2x.png (88px x 88px) is no good ... Icon-24x24#2x.png (44px x 44px) is no good!
Also, do I add the icon files to the WatchKit App Extension or just the WatchKit App?
Go to your story board, open your WatchKit App folder, click on the Image.xcassets in there you should see the AppIcon asset, click on it and it will show you all the icon sizes. If you click on each one, the attribute inspector will give you the pixel dimensions for each.
I was also struggling with the same problem. It's really annoying one. Searched for it and did all things mentioned above and in sone other posts over Internet. Though nothing worked.
Well then i realised 24x24#2x should be actually of size 48x48 pixels not 24x24 and so on. I know it's a dumb one. But i guess there are more dumb people like me and this post will help them.
You should definitely import the icons into WatchKit App.
There should be one predefined image asset named "AppIcon" where you should add your icons. It worked great for me, I just updated my app to App Store review.
Btw, you should import all images that you use in AppleWatch app into the WatchKit App instead of Extension, otherwise you the images are sent from iPhone into AppleWatch when the Extension communicates with the WatchKit App...
After many many attempts I finally was able to successfully submit my watch supported app to the store.
I'm unsure exactly which part was causing the issue, but one thing I did was use the naming convention outlined (by mrdoktor) in this thread: Invalid Apple Watch icon file names must match pattern "*<dimension>#<scale>x.png"
Note: I only named the watch app icons in this manner ... the regular icons (for iPhone/iPad) are named like icon72#2x.png etc.
I then went into Xcode's organizer->projects and deleted the "derived data" for the project.
Also, in my WatchKit App I have an images.xcassets file and to it I created a "New App Icon" set which I named "AppIcon-Watch". I went into my project's settings and under the WatchKit App target I made sure that the App Icons Source was pointing to the newly created "AppIcon-Watch" set.
I did not have to touch the WatchKit Extension and it's images.xcassets. I did not have to add the icons to the extension either.
I did have to add the watch icon files to the WatchKit App folder and import them into the project, and further drag them into the correct place within the WatchKit's images.xcassets
I hope this helps everyone else that is having this same issue!
I was getting the 90392 error, not from my app icons but from three other miscellaneous images I included in my watch app. I had added them directly as files in my project, which is the old school way before image assets. I deleted these and added them to an image asset catalog instead and then the app submission went through. The files and filenames were the same, so apparently all images must be part of an asset catalog.
I got the same issue and successfully fixed it. The most strange thing is that icon named in manner 40x40#2x.png should be only home screen 38mm. As soon as I named it in this manner my App was successfully uploaded to AppStore. But ALL MY OTHER ICONS for AppWatch are named as usually: icon_180.png
Magic which is not understandable for me. :-)

My binary is not optimized for iPhone 5 while having localized splash screens

My app keeps getting rejected as an invalid binary after uploading it to iTunesConnect via ApplicationLoader. The e-mail notification I'm getting is:
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 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' at /.../
Which is weird as I'm packing all splash screens in the binary, checked that through extracting my .ipa aswell and they are there (in their respective .lproj-s), correctly named and of correct sizes. I do not use the Asset Catalog, as I haven't found a way to localize that (yet).
What could be the issue for the rejection?
I also face the same problem in my case myapp plist file contains key "Launch Image" after remove the key from plist issue fixed on validation.
The issue here seemed to be that it was expected that the splashes would be in EVERY localization folder, even if I didn't localize the splash for that particular language. INCLUDING Base.lproj. After copying the english splashes into default, the app got through the initial check and is awaiting review as we speak.
We faced the same issue and couldn't solve it after trying many solutions, we believe it's a kind of bug in App submission.
But we found a workaround which can keep launch images localized and pass the submission verification.
Environment:
Xcode 6.1 (6A1052c) with iOS 8.1 SDK
Precondition:
Have following properties in your "*-info.plist" file.
Steps:
Go to your target's settings and in our standard scenario (localize
launch images, which uses "UILaunchImages" in "*-info.plist" but not
image assets), it should look like the image
Change the setting to use image assets (Note: after this step, Xcode will automatically REMOVE the "UILaunchImages" properties in your *-info.plist file. So please BACKUP the properties first.)
Go to the "LaunchImage" assets (can click the arrow button on the right) and fill with images from one of your *.lproj folder.
Now, go to the "LaunchImage" folder which contains images and "Contents.json" file.
Remove ALL the launch IMAGES just added, but kepp the "Contents.json" file.
Check the "Contents.json", it should contains properties like image below
Double check following items:
*-info.plist contains "UILaunchImages" properties
Project setting uses image asset for launch images
"Contents.json" in "LaunchImage" asset folder and the folder DOES NOT really have launch images
Now you can have a try for localized launch images and submit the binary to iTunes Connect. In our App, the workaround did work for "localized launch images" and "submission successful".
It should be a trick for avoiding the bug in submission checking.
Since the workaround above doesn't change any resource, except making the checking thinks we use image assets, we are more convinced that there are some bugs in Apple's checking.
Cheers!
I had the same problem. You don't need launch images if running in ios 8. I made a new launch screen as a storyboard and deleted the xib version. Change the settings in Targets -> General -> Launch Screen file to reflect the new file. And make sure Targets -> Info -> UILaunchStoryboardName is updated as well.

Apple submission failing with missing icons using Xcode5 and Images.xcassets using wildcarded distribution profile

I am doing contract work for another company and they finally submitted the build to Apple. I am using a wildcarded distribution profile for TestFlight builds and they re-sign it before submitting to Apple.
I've recently switched to using the Images.xcassets for the AppIcon and everything looked good from Xcode. No warnings about app icons or archiving errors, however, when they submit to Apple it doesn't get past the Meta-data review because of missing app icons. Specifically, the following:
Icon specified in the Info.plist not found under the top level app
wrapper:AppIcon40x40
Icon specified in the Info.plist not found under the top level app
wrapper:AppIcon60x60
Icon specified in the Info.plist not found under the top level app
wrapper:AppIcon50x50
Icon specified in the Info.plist not found under the top level app
wrapper:AppIcon72x72
Icon specified in the Info.plist not found under the top level app
wrapper:AppIcon76x76
iPad:AppIcon57x57.png: icon dimensions (57x57) don't meet the size
requirements. The icon file must be 72x72, in .png format
All the other icons (building for iOS 6/7 universal app) appear to be fine. I made sure the .xcassets was part of my target and all the other various suggestions here.
So I opened up the .ipa and Payload to check out what Xcode had done. With the exception of AppIcon60x60, it changed the names of my files to AppIcon40x40~iPad and simliar for the rest of them. AppIcon60x60 was actually called AppIcon60x60#2x (which makes sense because it is 120x20 px). The file names in the Info.plist did not contain the ~iPad suffix for the iPad icons, which I feel lead the the issue of rejection.
I was under the impression when you use the Images.xcassets that Xcode would automatically name the icons and fill out the Info.plist appropriately. I am left wondering if it is a problem with archiving the app with a wildcarded distribution profile.
I eventually got the submission to be a success by removing the Images.xcassets and manually assigning the icons and then going into the Info.plist and deleting a few extra entries that were lying around. Any input would be appreciated, thanks!
From the iOS 7 UI Transition Guide:
Note:
An asset catalog contains resources that are displayed within a napp; an asset catalog doesn’t
hold the app icon, launch image, or any other image that an outside
process needs to access.
I moved these files out of the xcassets, restored the .plist Icon Files, and worked.

Resources