Issue uploading to app store - ios

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

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.

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

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.

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/

AppStore Push issue with appcelerator

I was developed an application using titanium-Appcelerator. I was stuck with
Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format'
Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '76x76' pixels, in .png format
Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '152x152' pixels, in .png format
error while submitting titanium application to AppStore. I developed this application in "CLASSIC'' framework in Titanium. I had referred to many docs and forums regards this issue.
I had tried by setting appicon names as " appicon-60#2x.png,appicon-76#2x.png,appicon-76.png, etc as per guidelines in Project-Name/Resources/iPhone even it was showing the above issue repeatedly while submitting.
What is the list of .png filenames you have in Resources/iphone?
The files you need for the sizes you list are:
appicon-60#2x.png (120x120)
appicon-76.png (76x76)
appicon-76#2x.png (152x152)
You could use the TiCons CLI to generate all the icons using a single 2048x2048 file.
I had this exact issue even though I had all the files correctly named and in the right directory.
I was able to validate my app successfully after cleaning the project in Appcelerator Studio (Project -> Clean), and re-running the distribution build. Subsequent builds would not pass validation (same error) unless I cleaned again in between builds.
(I am using Titanium 7.1.0.GA, Appcelerator Studio 5.0.0.201712081732, and Xcode 9.3)

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

Resources