XAMARIN IOS: Cannot submit to iTunes "Missing required icon file" - ios

Since upgrading to xcode 9.0 i can no longer submit my xamarin apps to itunes connect. I get this error:
ERROR ITMS-90022: "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."
Which suggests I dont have either an app icon for 60#x2x or 40#3x, I can definitely see i have both in my asset catalogue! ive tried creating the asset catalogues in both xamarin studio and xcode but neither seem to work. My info.plist definitely also has the asset catalogue selected for the app icon. I can see some people needing a pod update to fix the issue in xcode 9 but being a xamarin app this isnt much good to me. Any help appreciated.

I found that this is a bug with xamarin and xcode 9. Luckily im using microsoft mobile center for CI of my apps so i was able to configure the build to use xcode 8.3 to generate the ipa for now until xamarin release a bug fix.

I had exactly the SAME bug than you and tried everything (deleting all xcassets and icons and redo it all. Until I found that post: https://forums.xamarin.com/discussion/104004/missing-app-icon-after-updating-to-ios-11-sdk
To summarize, the project I worked on had an another project linked to it with an xcassets catalog in it. I don't know if it's Xcode or Xamarin related, but it seems that at archive time, the secondary xcassets would mess something up on top of you primary project's xcassets that makes iTunes Connect not recognize the app icons.
The solutions are either of these:
Move every secondary project's xcassets of your workspace into your primary project. (aside your xcassets containing your app icons, or merge them all in one)
If that's not possible, remove the secondary project's xcassets and just the images it contained the old style way by adding them with the right name and #2-3x indicator.
If these solutions are not possible because you are using a cocoapod that includes an xcassets, I suggest making a pull request to the repo or entering an issue.

Related

Error while archiving react-native iOS project for testflight, app-icon

I am trying to Archive a react-native iOS app in preparation of distributing via TestFlight. I already added app icons of several resolutions, but I am still getting errors of missing app icons.
and here is the error.
I also have App Icons Source set to AppIcon in the General tab of the project.
This is a react native app, which I am trying to distribute it to testers via TestFlight.
Check your target for the source of App Icons.
It means only icons inside AppIcon are effected.
You could use tool like MakeAppIcon that generate all icons that you need.
I started the react native development from a seed git repo. Even though I had all the icons in Images.xcassets, the problem was, in the "Build Phases" I had another shared resources of another xcassets which was blank (had no icons) in the "Copy Bundle resources". I copied the images from Images.xcassets to that shared resources and I was able to archive it successfully.

How to package iOS app for enterprise deployment with all icons?

Not too sure if this is programming-related enough.
I'm using Xcode 9.2.
My organization is looking to deploy a custom iOS app built using our Apple Enterprise account. We are using Blackberry UEM to deploy the app. The problem we're seeing right now is that the high-res app store icon in Assets.xcassets gets stripped out when archiving my IPA, so when we add it to UEM, the icon looks quite bad in the UEM store page. I've tried playing around with the archive settings, including app thinning, compiling from bitcode and stripping swift symbols.
How can I force Xcode to leave the store icon in my xcassets in the final built ipa file?

Issue when uploading binary to iTunes Connect with Xcode 9 on High Sierra (ERROR ITMS-90391)

When trying to upload a binary to iTunes connect using XCode 9 (or Application Loader) on High Sierra, I'm getting the following error:
ERROR ITMS-90391: "Missing Icons. No icons found for watch application ‘AppName/Watch/WatchApp.app'. Make sure that its Info.plist file includes entries for CFBundleIconFiles."
May I note here that the exact same binary was uploaded yesterday, using XCode 9GM on Sierra with no problems.
Things I've already verified/tried:
Cleaned project, deleted DerivedData, rebooted
Asset catalog memberships are correct
All the required app icons exist in the appropriate asset catalog
The resulting .xcarchive appears to contain both the asset files and the Info.plist correct entries for the CFBundleIcons key
I've removed and readded all image files under new names but to no avail.
I'm aware of a relevant question here and the most recent discussions in Apple developer forums. However, none of the solutions suggested seem to work. Any ideas?
I think this is an apple bug with xc 9.0 gm on high sierra gm. Hours of frustration trying to figure this out.
I got around this by unchecking the watch extension target membership on the assets for my watch app and watch extension. To say that again, both the assets collections for my watch app and watch extension, only have the watch app checked in the target membership list.

App Icon not showing in Organizer in Xcode 6

I have a project created on Xcode 6.1.1 - using Asset Catalogs. Targeted for iOS 7. iPad only application.
My icons are showing fine in the simulator and on a device. But when I archive the project, the icons do not show up in the organizer. And subsequently do not show up in Test Flight or Crashlytics.
Icon files are all from a previous Xcode project, that did not have this issue. I have tried re-saving all the files. Making sure the asset catalog is targeted correctly, removing and reading the images. Restarting Xcode. Restarting my computer. Checking then copy bundle resources.
I am at a complete stand still. No idea how to correct this. Any help or tidbits are appreciated.
Look in your app's Info.plist file and check for the various Icon file entries. These should all refer to existing files in your project. You might need to copy the file into the root of your project for it to be found.
Since you have a previous project that worked, you can also compare with the Info.plist file from that project and look for missing entries.
I was able to delete all the old files, and regenerate all the icons with a template - and drag them all into the asset catalog at once. Clean build. Finally worked.

iOS app icon not updating

I have an app on App Store. When I try to deploy a build on a device which already has an older retail version of my app installed, it does not update the icon of the app unless the device is restarted. It only happens on FW 6.0+. Does anybody have any ideas on why it is happening or any suggestions to fix it?
What I noticed seemed to work for me last night was to remove any of the files from my project and the Finder folders for the same project that sit next to the main project file. I also had different names for the older and newer ones so I removed the older ones from the plist file too both under icons and iOS 5 icons. Finally I did a Command+Shift+K to clean the project. That all seemed to do it for me on the emulator and on my iPhone I just had to reboot.

Resources