Missing CFBundleIconName in Xcode9 iOS11 app release
Asked Answered
S

28

136

I'm struggling to release a new version of our app using Xcode 9 built with iOS 11 SDK. Archiving and uploading the binary goes well without any issue. The build appears in iTunes Connect under Activity as 'processing' and it gets disappear and I get the following email back.

Dear developer,

We have discovered one or more issues with your recent delivery for "". To process your delivery, the following issues must be corrected: Missing Info.plist value - A value for the Info.plist key CFBundleIconName is missing in the bundle ''. Apps that provide icons in the asset catalog must also provide this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. Once these issues have been corrected, you can then redeliver the corrected binary. Regards, The App Store team

The link gives some info about asset bundles. I tried setting a CFBundleIconName key to project name or an image file name and submitted the app again. However, I still get the same email as above.

Any suggestion of help would be highly appreciated.

Surveillance answered 14/9, 2017 at 10:30 Comment(3)
Have you correctly set App Icons Source to your asset catalog in your project general settings ?Diuretic
@vmeyer: but what about apps that don't use an asset catalog?Neapolitan
If you are still facing with the issue and you are using XCode 13, maybe the solution is to remove the info.plist key. I explain more here: https://mcmap.net/q/162866/-missing-info-plist-value-a-value-for-the-info-plist-key-39-cfbundleiconname-39-is-missingBurro
S
43

I figured it out that since Xcode 9 iOS 11 builds require iTunes Connect App Icon to be bundled with the binary itself which could have been added to iTunes Connect directly in the earlier versions of Xcode (XCode 8.3.3 ane earlier).

If you distribute your app through the App Store, add the App Store icon to an asset catalog located in the Xcode project. The location of the icon is different depending on the platform.

For iOS and watchOS apps built using Xcode 8.3.3 and earlier, you add the App Store icon in iTunes Connect. For macOS and tvOS apps, you add the App Store icon to the Xcode project but the location in the asset catalog is different than apps built with Xcode 9 and later.

The required App Store icon should be placed in an asset catalog located in the app bundle.

Adding App Store Icon

So, the CFBundleIconName should be now set to AppIcon (default value) or any value you set.

Adding only that image will not pass the iTunes Archive upload process so we need to add all the App Icons images of the following sizes:

  • 20pt 1x, 2x, 3x
  • 29pt 1x, 2x, 3x
  • 40pt 1x, 2x, 3x
  • 60pt 1x, 2x, 3x
  • 76pt 1x, 2x
  • 83.5pt 2x
  • 1024pt 1x

So, now it is time to use asset catalog to specify app icons.

Surveillance answered 15/9, 2017 at 8:39 Comment(5)
In my case (old app built with Xamarin/Visual Studio for Mac) the solution was as easy as Migrate to Asset Catalog. I had also a launch screen as story board, I could not migrate that to asset catalog, so I left that as is. Still it complained about marketing icon missing.Cigarillo
I think you need to add Marketing Icon under App Icon which is also 1024pt. Also verify if you are uploading binary using Xcode 9 GM but not the beta version.Surveillance
Visual Studio form Mac (ex Xamarin Studio) doesn't show the app store/marketing icon in the assets, so I could not add it via UI. I will submit a bug to Xamarin. What I did: edit Contents.json > add filename for ios-marketing. I had to add the file also in the ImageAsset in the csproj file. Also for some reason my iTunesArtwork 2x was not correct (using same as 1x). I overwrote it with a 1024px file. Resulting IPA doesn't contain icon-marketing.png, but the upload via application loader worked. Double check: tried again w/o marketing icon but itunesartwork fix: got marketing error.Cigarillo
Here the bug report for xamarin / visual studio for mac users to follow: bugzilla.xamarin.com/show_bug.cgi?id=59515Cigarillo
As of 2030, Apply will require icons to have 33,178 different pngs just for icons.Hodge
L
98

I struggled with this all day and into the night trying every permutation I could think of and finally found this solution - hopefully this will save someone from going through this nightmare.

My app was not previously using an xcassets catalog so I had added one to the project when trying to address this issue by using File - New - File... and choosing an asset catalog from the types of files - I named it Assets.xcassets and chose it in the xcode project. Then right clicked in the area on the right and chose to add App Icons & Launch Images then New iOS App Icon and then in that I dragged my 1024x1024 image to the well for app store iOS 1024pt slot which you would think would have worked. but I still got rejected emails after archiving and submitting to the store.

Missing Info.plist value - A value for the Info.plist key CFBundleIconName is missing in the bundle. bla bla bla...

I also had added the key to the Info.plist for "Icon Name" which is also known by CFBundleIconName and set it to a string filename that matched my 1024x1024 image in the project. But none of that worked even though checking the IPA contents showed everything correctly in place.

finally I deleted the AppIcon from my catalog called Assets.xcassets so that it was empty and did the following to fix the issue:

Go to the main setting for the app by clicking your app name and then selecting the GENERAL tab then under App Icons and Launch Images section click the button beside App Icons source and choose to use an asset catalog - select the name of your asset catalog - mine was called Assets.xcassets - and say to convert (migrate) the app with the button on that popup - I also checked the box to convert launch images too - when you are done the App Icons Source and the Launch Images Source will have names in the dropdown list.

go to the asset catalog by clicking on it - again mine was Assets.xcassets and then click on the AppIcon section and drag your 1024x1024 image into the App Store iOS 1024pt well / slot. archive your app one last time and submit it to the app store - at that point hopefully won't get anymore emails from hell as I started calling them about rejection of your app and you can return to iTunesConnect to submit your app.

Good luck - I empathize with the pain you might be feeling with this mostly cryptic error when you have tried lots of reasonable fixes that just didn't pan out. Such is the life of a software engineer sometimes... ;)

if it was easy everyone would do it, right. ;)

Lissy answered 15/9, 2017 at 7:9 Comment(6)
Exactly, it was a pain and I figured it after reading through the link very calmly. Actually you need not delete previous App Icon but on the left hand size if you toggle iPad, iPhone checkbox you will get all the required sizes.Surveillance
Thanks! was struggling with this for a long time! I just love how Apple errors are so instructive.Radiotelegraph
The key for me was to add the AppIcon Asset from the "General" project tab. (Bizarrely, creating a new asset catalog and then adding the app icons did not work.)Accalia
Thank you for this. I couldn't see anything being uploaded to iTunes Connect though I was getting a success when uploading to the App Store. Very confusing. Usually you'd get an error if you leave something like that straight away when uploading to the store.Anytime
The more I develop for iOS the more I hate it.Firecrest
this solution solved my problem with old crap obj-c project without asset catalog. thank youFoldaway
C
91

Simplest solution is to add CFBundleIconName key in plist and fill all AppIcon slices in assets catalog.

Info.plist :

<key>CFBundleIconName</key>
<string>AppIcon</string>

enter image description here

enter image description here

Download Working AppIcons Assets Here

Cinquain answered 21/9, 2017 at 16:33 Comment(5)
This worked for me. Thank you so much! btw this works on VS for Mac as wellBiform
parent tag would have been nice. now I have to guess where the key goes.Adahadaha
This worked out well for me with a caveat. It looks like the AppStore disallows transparency in the .png (alpha layer). Created a repo with those instructions and the updated images here: github.com/cy-campos/xcode-ios-icon-templateAgna
The missing piece of this explanation: In the above list Icon Name is the "common name for the value being asked for. If you right-click on any item in the plist and select "Raw Keys & Values" you will see this name change to CFBundleIconName which is what Apple uses in its fail message.Drakensberg
I still had to remove the alpha channel on the AppStore icon afterwards https://mcmap.net/q/99815/-error-itms-90717-quot-invalid-app-store-icon-quotDextral
S
43

I figured it out that since Xcode 9 iOS 11 builds require iTunes Connect App Icon to be bundled with the binary itself which could have been added to iTunes Connect directly in the earlier versions of Xcode (XCode 8.3.3 ane earlier).

If you distribute your app through the App Store, add the App Store icon to an asset catalog located in the Xcode project. The location of the icon is different depending on the platform.

For iOS and watchOS apps built using Xcode 8.3.3 and earlier, you add the App Store icon in iTunes Connect. For macOS and tvOS apps, you add the App Store icon to the Xcode project but the location in the asset catalog is different than apps built with Xcode 9 and later.

The required App Store icon should be placed in an asset catalog located in the app bundle.

Adding App Store Icon

So, the CFBundleIconName should be now set to AppIcon (default value) or any value you set.

Adding only that image will not pass the iTunes Archive upload process so we need to add all the App Icons images of the following sizes:

  • 20pt 1x, 2x, 3x
  • 29pt 1x, 2x, 3x
  • 40pt 1x, 2x, 3x
  • 60pt 1x, 2x, 3x
  • 76pt 1x, 2x
  • 83.5pt 2x
  • 1024pt 1x

So, now it is time to use asset catalog to specify app icons.

Surveillance answered 15/9, 2017 at 8:39 Comment(5)
In my case (old app built with Xamarin/Visual Studio for Mac) the solution was as easy as Migrate to Asset Catalog. I had also a launch screen as story board, I could not migrate that to asset catalog, so I left that as is. Still it complained about marketing icon missing.Cigarillo
I think you need to add Marketing Icon under App Icon which is also 1024pt. Also verify if you are uploading binary using Xcode 9 GM but not the beta version.Surveillance
Visual Studio form Mac (ex Xamarin Studio) doesn't show the app store/marketing icon in the assets, so I could not add it via UI. I will submit a bug to Xamarin. What I did: edit Contents.json > add filename for ios-marketing. I had to add the file also in the ImageAsset in the csproj file. Also for some reason my iTunesArtwork 2x was not correct (using same as 1x). I overwrote it with a 1024px file. Resulting IPA doesn't contain icon-marketing.png, but the upload via application loader worked. Double check: tried again w/o marketing icon but itunesartwork fix: got marketing error.Cigarillo
Here the bug report for xamarin / visual studio for mac users to follow: bugzilla.xamarin.com/show_bug.cgi?id=59515Cigarillo
As of 2030, Apply will require icons to have 33,178 different pngs just for icons.Hodge
S
17

I was getting the same email whenever I submitted a binary for a new version of one of my apps. I tried all the remedies listed here, but nothing worked. Then I made one more change that worked.

In the Target . . . Build Settings . . . Asset Catalog Compiler - Options section, make sure the name of the asset catalog that contains the icons is shown in Asset Catalog App Icon Set Name. For some reason, my Asset Catalog App Icon Set Name was blank.

Spessartite answered 22/10, 2017 at 21:9 Comment(1)
This fixed for me! Tried everything else with no avail. It also makes sense as I examined the .ipa package when exported with an adhoc build and saw the icons weren't in there before the asset compiler was changed to have "AppIcon" specified for the "Asset Catalog App Icon Set Name" which matched name in xcassets.Hardin
E
14

I have got the same issue and solved it as follows.

Here is the step by step guideline.

Step 1:

Create an icon with 1024*1024.png

Step 2:

Upload this png to the https://www.appicon.build/ website and drag and drop on screen.

enter image description here

Step 3:

It will ask you to enter your email address. Enter it and then after few seconds, you will get all the required image sizes into your mailbox. Download that zipped folder and unzipped it.

Step 4:

Go back to your project on Xcode and add this unzipped folder(called AppIcon.appconset) into the resources folder in your xcode project.

enter image description here

Step 5:

Double click on Asset.xcassets folder and drag and drop required images on the image placeholder for 2x and 3x images from the generated images.

enter image description here

You are good to go!...

Existent answered 22/11, 2017 at 18:35 Comment(2)
There is also an app called Icon Set Creator on the Mac App Store. Does the job just as easy and does not upload things on the web.Odum
Great post, this worked for me and saved me a lot of time, thanksStoughton
C
11

Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key

For older projects without assets catalog there will be issues while submitting to Appstore

In Project —> Target Properties - General tab—> App Icons and Launch Image. App Icons —> Select Use Asset catalog Then it will ask to convert (migrate) with an alert and creates a .xcassets file. Check the box to convert launch images too.
When you are done the App Icons Source and the Launch Images Source will have names in the dropdown list. Add the app icons and other icons to it

Cotillion answered 27/10, 2017 at 16:6 Comment(0)
C
11

Now in IOS 11, we need to add a new icon in our project of size 1024x1024.

Ensure that the Icon files are removed from resources folder in source code bundle and also Icons files key in info.plist is cleared. Also add CFBundleIconName key in plist as below

Info.plist :

<key>CFBundleIconName</key>
<string>AppIcon</string>

Also in the Project - Target—>Build Settings —> Asset Catalog Compiler - section, make sure the name of the asset catalog that contains the icons is shown in Asset Catalog App Icon Set Name.

Cotillion answered 3/11, 2017 at 6:53 Comment(0)
A
10

I too have encountered the "Missing Info.plist value - A value for the Info.plist key CFBundleIconName is missing in the bundle..." error and wanted to leave a concise answer to hopefully help the next person.

The app was not using an asset catalog. Although that is not what this error says, that is what is required to resolve this issue, but how you add the values is important. It is not enough to manually add this missing key\value to the .plist; there is more to it than that. You also need to remove the CFBundleIcons value from your .plist. This can be done manually, but I recommend using the XCode interface to edit this through the Project Properties - General App Icons and Launch Image. That is how I got mine to work.

Below is a screen shot of the changes this made to my .plist.

enter image description here

App Icons and Launch Images
enter image description here

Add a new Asset Catalog to your project if you do not already have one.
Click the app name at the top of your Navigator window
Select the GENERAL tab
Scroll down to the "App Icons and Launch Images" section
Click the "use an asset catalog" button
NOTE: I had created my own asset catalog and iOS App icon image set, but linking to the existing one didn't work for me as it created a new image set which had empty values\images. I had to delete them all and let this process create them for me. If you are just now adding an asset catalog to resolve this issue, let this process create it for you, don't manually add the image set.

Click to convert\migrate the app
After clicking the button, nothing refreshed automatically for me. I navigated away and then back to the settings screen and values were now assigned in the dropdown list.

Now open your new asset catalog by clicking on it
Click on the "AppIcon" section and drag your required images to the appropriate locations.

You will need the 1024x1024 image for the App Store iOS 1024pt icon and any other iPhone\iPad\Universal app required icons. The 1024x1024px image is also known as the Marketing Icon. You cannot submit your app without it.

You should now be able to archive your app and submit it to the app store.

Atonality answered 19/9, 2017 at 21:1 Comment(0)
V
8

For anyone who the above answers did not help(spent a good bit of head-wall banging on this one):

Make sure to check the target membership of your assets directory! If you do not correctly link the membership here, you will get this same super-generic error(Apple should do something about the error messages).

enter image description here

The target membership should correlate directly to targets for which you are using the icons. For example, I use this single directory for both my main app, and watch app assets, you must specify this by selecting the appropriate member.

You do not need to edit the plist at all, most of these answers are misleading.

Hope this helps someone who hits this!

Volumeter answered 24/2, 2018 at 22:24 Comment(1)
OMG. After HOURS struggling with this problem, it was just to check the target membership that, for some reason, was unchecked. Thanks a lot.Scopp
S
3

Follow the steps below.

  1. In your Project add new file>>Asset Catlog.
  2. Goto Click on your project in XCODE>>General>>App Icons. See screenshot. This will create AppICon and LaunchImage Specifications automatically inside your Asset after that you can drag and drop your Appstore icon and other icons in it.

  3. Also Add
    <key>CFBundleIconName</key>
    <string>AppIcon</string>
    .

This entry in your plist file.

Upload Your Binaries to Itunes.

Sattler answered 29/9, 2017 at 7:5 Comment(1)
(Xcode 9, the "General" section described appears only for a Target, not a Project...)Expletive
I
3

In my situation; after you have done all these things in this page, don't forget to archive your project again :)

Incipit answered 24/3, 2018 at 19:52 Comment(0)
E
2

No need to edit info.plist. The icon related errors would be resolved by filling in all the images placeholders for AppIcon in images.xcassets.

Elliot answered 2/10, 2017 at 18:34 Comment(0)
A
2

I have finally come up with a clean solution to this problem which requires adding no keys to info.plist such as CFBundleIconName. I did this while updating an old app in the app store to build against SDK 11.2 (and believe me there was a fair amount of frustration involved). I'm using Xamarin in Visual Studio on a PC but this solution should work in any other IDE or framework e.g. XCode. The gist of the solution is that info.plist file and Resources folder no longer need to play any role as far as app icons and launch images are concerned. In fact you can remove CFBundleIconFiles key from info.plist file and it will not make any difference to your project.

Here are the steps you need to follow:

  1. Make a copy of your app icons and launch images and store them in a separate location.
  2. For a clean start delete references to app icons and launch images from info.plist, which means deleting values under CFBundleIconFiles key.
  3. Delete app icons and launch images from Resources folder.
  4. Use delete option to delete any 'Assets' or 'Media' you have declared under 'Asset Catalogs'.
  5. A folder by the name of Assets.xcassets or Media.xcassets (or similarly named .xcassets folders) might still be present in your project. They would either be outside or inside the Resources folder. Delete all .xcassets folders.
  6. Now open your project file in an editor like notepad (i.e. .csproj in Visual Studio) and see if there are any references pointing to files in .xcassets folder. Delete all such references. Also check that there are no references pointing to app icons or launch images under Resources folder in this file and delete them as well.
  7. Check to make sure XSAppIconAssets and XSLaunchImageAssets keys are no longer present in info.plist. Delete them if they are still present.
  8. At this point you have removed any previous files or references to your app icons and launch images from your project. If they are still present please go back and delete them. Now to start afresh create a new 'Asset' or 'Media' under 'Asset Catalogs' which creates a .xcassets folder in your project. Copy your app icons (and launch images if required) from step 1 into respective folders under your new .xcassets folder. Make sure all required images are included.
  9. Check to make sure info.plist now contains XSAppIconAssets (and XSLaunchImageAssets if needed) key values for the new 'Asset' you have created. Your project file (which is .csproj in Visual Studio) should now contain references to each image you added to your new 'Asset'. There is no need for any extra images than those required by the project. I would suggest deleting any extra images from your Assets.
  10. If you added a key named CFBundleIconName as mentioned in other solutions then please delete this key from info.plist. It is not required. Now you are ready to submit your app to the store.
Advertence answered 29/3, 2018 at 12:37 Comment(1)
I used the answer by @Advertence and it is spot on, however, I then was getting errors that various icons were not found. The problem was a bug with VS2017 when creating an asset catalog. When adding a new asset catalog, the catalog folder is created under the root of the project, not under /resources. However, the entry in info.plist has the path as under /resources. Once I removed /resources from the path to my asset catalog all worked fine. Hope this helps someone!Mcgehee
T
2

I had this issue with a Flutter app when trying to upload an archive.

Fix:

  • Add the following to Info.plist
<key>CFBundleIconName</key>
<string>AppIcon</string>
  • Tools > Flutter > Flutter Clean
  • Tools > Flutter > Open iOS module in Xcode

Create a new archive and upload.

Thromboembolism answered 1/7, 2021 at 23:29 Comment(0)
C
1

There was an issue with Visual Studio 17(v-15.2) once you update it version > 15.2 you will see an App-Icon-1024x1024 place holder in AssetCatalog > Media> AppIcons

enter image description here

Capsulate answered 1/11, 2017 at 13:55 Comment(1)
Can you give some context? Not sure why Visual Studio versions is related to this topic...Expletive
R
1

I'll reply in the scope of Xamarin for fixing this issue - which is similar but not identical to Xcode. Using VisualStudio Community (16.6 Windows/ 8.6.1 macOS) with Xcode 11 installed on macOS

Adding the CFBundleIconName in the Info.plist is no help, this key is no longer used nowadays (for builds targeting iOS 11 and above, only Assets.xcassets is used - it also can be Media.xcassets, you choose whatever you want, but i'll reference it as Assets.xcassets).

My issue was: although it was visually nice in Assets.xcassets view, the images were not corrects. As soon as i tryed manually to reaffect them i had a format error.

Xamarin is handling, well... let's say confusingly the Asset.xcassets into the .csproj file. Sometimes referencing Contents.json file is not enough to describe all assets, you have to import every single file too, so it can work on PC, but not on Mac and vice-versa. There is space to improve assets management between Visual Studio PC, Visual Studio Mac and Xcode.

I re-generated all icons, and inserted one by one to the Assets.xcassets view by hand.

Of course, in addition, Info.plist, you must have the following key:

<key>XSAppIconAssets</key>
<string>Media.xcassets/AppIcons.appiconset</string>

Then i rebuild all and voilà, it worked.

Tip to see if icons are generated correctly before uploading to AppStoreConnect is to deploy to simulator, or, in Xcode->Organizer tool to check if the IPA got the proper icon. Otherwise this is dev "no icon", and it won't be okay.

Also, some websites for app icon generation are not containing everything i needed. Finally, i used this one for quick tests (but i prefer local tool - see above): https://www.iconsgenerator.com/Home/AppIcons

Also, because you could have issue uploading without Launchimage (related to storyboard, and also stored in Asset.xcassets, there is a wonderful app allowing both generation of App Icons and Launch Images: https://github.com/raphaelhanneken/iconizer

Radioactivate answered 28/5, 2020 at 7:0 Comment(0)
G
1
  1. Deleted the existing "Assets" folder under Asset Catalogs

  2. "Add New"'d an empty "Asset Catalog"

  3. followed Managing Icons with Asset Catalogs

  4. info.plist updates: +1 your version and build #'s and add icons placed in Resources as "required?" by some earlier iOS's

    <dict>
        <key>CFBundlePrimaryIcon</key>
        <dict>
            <key>CFBundleIconName</key>
                <string>AppIcon</string>
            <key>CFBundleIconFiles</key>
        <array>
            <string>Icon152</string>
            <string>Icon167</string>
            <string>Icon76</string>
        </array>
    </dict>
    

To which Apple replied:

The following build has completed processing: Platform: iOS App Name: FltLogger Build Number: 1.6

Putting this here as much for me next time as to help out. Happy hunting...

Gland answered 9/2, 2021 at 14:19 Comment(1)
There seems to be a </dict> missing?Burseraceous
I
1

If anyone is, like me on this page amongst many because you cannot get an app pushed to the app store -- and when you do, you get an email about missing asset catalog.... 16.10.0 is completely broken. 16.11.0 preview does not fix it either. I have one Xamarin project still publishable, but I suspect if I deleted the build cache on my mac it wouldn't ever work again. After 5 days solid, I downgraded to 16.8.6 (likely did not need to go that far back). I started getting useful warnings about images again, and my asset catalog not only generates an asssets.cer, but the bundle has the catalog properly added. Whether it started working from visual studio or the mono downgrade to the old version, I do not know, but hopefully this saves someone the wasted days I endured trying to adjust info.plist, catalog.json, .csproj, wiping mac side caches, inspecting published files, 1000's of build/archive/transports, and renaming and double-checking thousands of icon files, completely rebuilding projects, etc.. You can work around the missing asset catalog by implementing the CFBundle icon files if you manage to get them perfect, but if you succeed at that, you will upload the app, it will promptly disappear, and appstore connect will email you that all apps now need asset catalogs.

Idio answered 3/6, 2021 at 8:5 Comment(4)
Am here with 16.10.1. Fourth day. Same story, nothing worksNewsome
Knowing I'm not alone made me feel better, thank youNewsome
Latest 16.10.2 update claims to fix this! Haven't had a chance to try it yet, personally, but I am crossing my fingers!Idio
I just managed to do it monday. The new release came on tuesday. I did it by installing VS for a Mac and making the iOS build there (only the iOS build).Newsome
F
1

For me the key was to check the target membership checkbox of Assets.xcassets

Franklynfrankness answered 28/6, 2021 at 15:3 Comment(0)
U
1

After reading the whole Internet, I found my problem !

I'm working with Xcode 15, iOS 17

Remove any references with CFBundleName (if any)

All you need, is the the name of your icon within the assets (for exemple AppIcon) and add it to

Target/General -> App Icon and Launch Screen
App Icon : (name of your icon)

Personally I use https://www.appicon.co to generate my AppIcon file then I upload the file AppIcon directly into my assets.xcassets

Now the magic

References your assets in Development Assets

My problem is I was referencing the folder, and not the assets (it worked in dev, but not when publishing)

Instead of Project/Resources
I created another folder Assets
then replaces it with
Project/Resources/Assets/assets.xcassets

I really wanted to keep my Resources repo, that way it works!

(maybe you can try without creating the repo Assets, but referencing assets.xxassets directly)

Unprincipled answered 15/12, 2023 at 21:54 Comment(0)
E
0

For Xcode 9.2 for iOS 11 apps, a couple points should be clarified.

1- This error should be from not having icon assets in an Asset Catalog.

(Got this error by submitting an app with no asset catalogs).

2- This error is solved by adding an asset catalog with the required icons.

(In my case, it was an iPhone-only app, and I added some placeholder images that were 120x and 180x).

3- This error is not related to the 1024x1024 "App Store Icon"

(When you forget the larger store icon, a separate, specific error will be displayed, not this error).

4- Contrary to the Apple documentation, even with (Xcode 9 + written for iOS 11), you can also use the website to submit the App Store icon.

(The separate specific error mentioned above is triggered by the lack of an icon, not the absence of the icon in the submitted build).

5- missing CFBundleIconName in Info.plist was not changed.

Expletive answered 19/4, 2018 at 19:39 Comment(2)
what is the difference between lack and absence? can you explain?Affiche
If you submitted an icon to the store entry already, submitting an app without the icon in the build will work...Expletive
M
0

I had also a lot of problems on this matter - I was constantly getting the error with the missing CFBundleIconName and that my Icons where not found. So here is my story, maybe it will be of help for somebody. By the way, I am using Visual Studio with Xamarin.

  1. Add an Asset Catalogue to your Project with AppIcons (the actual name of the asset is not important but just that it is for the application icons). Add all of the necessary icon sizes. For the 'App Store' icon I have added an icon without a @ in the name as someone in the forums suggested, but I am not sure, if it is 100% necessary. For generating the different icon sizes there are a lot of Websites and tools that can do that for you and you just need to provide the 1024x1024 one. They will generate the rest.

  2. In the Info.plist under 'Visual Assets' and then 'App Icons' set the source to the asset that you have just created.

  3. Now check your Info.plist. Do not open it with an external Editor, because all of your changes will be overwritten once you build your project. Do the following - right mouse click on the Info.plist in the Solution Explorer then select Open With -> Generic PList Editor.

  4. Check that you have the following entries:

    -Property = CFBundleIconName, Type = String. Value = Assets.xcassets/AppIcons.appiconset -Property = XSAppIconAssets, Type = String. Value = Assets.xcassets/AppIcons.appiconset

  5. Note that Visual Studio automatically adds, when it adds something altogether, 'Resources/Assets.xcassets/AppIcons.appiconset' as the Value. But in my case the Asset Catalog was created outside of the Resources folder and therefore, my icons where not found. So, check where your assets folder was created.

  6. CFBundleIconFiles was not needed, because Apple uses the Asset Catalog instead now.

I hope that I was of some help :)

Moreover answered 13/5, 2018 at 19:17 Comment(0)
G
0

In My case issue was that I had a PNG image for the App Store Marketing Icon (1024x),

You must use jpeg, Non-transparent image for this App Store icon (1024x), and the issue went away.

Gadroon answered 30/8, 2020 at 11:32 Comment(0)
M
0

Nothing above worked for me. I needed to remove the value for Development Assets from Build Settings.

Monadnock answered 7/9, 2020 at 13:50 Comment(0)
J
0

In my case I tried everything, the only thing that worked is that i had to delete the whole xassets folder and create a new one with the icon files in it.

Jointress answered 29/9, 2021 at 20:47 Comment(0)
A
0

In my case I had done everything as I should. The plist, the AppIcon, the settings in General and Build Settings.

What was the issue actually was that the name of the App in AppStoreConnect was different(by one capital letter), than the name of the one in XCode. So what I did was to create a new project with the correct name, just copy/pasted everything and it worked.

Annora answered 15/6, 2022 at 11:46 Comment(2)
H razvan, so it was not about the bundle value but about the app name listed on appstoreconnect.apple.com/apps? I don't understand how this explains the error message, though... Without your comment, I'd never have checked that. It does not solve our issue as the app names are the same...Autobahn
Or is it about the provisioning profile (name, appId) and bundle name that must match?Autobahn
A
0

Just change your AppIcon name in Assets e.g: StreetAppIcon and then change to your project setting in General. Worked Like a Charm for me

enter image description here

Alben answered 2/3, 2023 at 6:58 Comment(0)
T
0

I ran into this problem and after a couple of days of looking for solutions I found the cause. The Preview Assets.xcassets file was in the custom Resources folder, the path to which I specified in BuildSettings - Deployment - Development Assets "myApp/Resources". I created a "Preview Content" folder and moved the Preview Assets.xcassets file into it, also replaced the Development Assets config with "myApp/Resources/Preview Content" and the problem went away. Apple magic.

Taber answered 6/7, 2023 at 9:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.