上架App Store构建版本不显示

1.App打包上传了,在构建版本处却不显示,查看苹果的邮件 

Dear developer,

We have discovered one or more issues with your recent delivery for "xxxxx". 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 'xx.xx.xx'. 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 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



解决方法:

https://stackoverflow.com/questions/46216718/missing-cfbundleiconname-in-xcode9-ios11-app-release

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 seehttp://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.

share improve this question
 
1  
Have you correctly set App Icons Source to your asset catalog in your project general settings ? –  vmeyer  Sep 14 at 15:47
 
@vmeyer: but what about apps that don't use an asset catalog? –  user102008 Sep 14 at 16:33 

10 Answers

up vote 14 down vote accepted

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
  • 85.5pt 2x
  • 1024pt 1x

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

share improve this answer
 
1  
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. –  firepol  Sep 15 at 8:58 
 
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. –  ErAcube  Sep 15 at 9:22
1  
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. –  firepol  Sep 15 at 11:49
1  
Here the bug report for xamarin / visual studio for mac users to follow: bugzilla.xamarin.com/show_bug.cgi?id=59515 –  firepol  Sep 15 at 12:01

Simplest solution is 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

share improve this answer
 
2  
This worked for me. Thank you so much! btw this works on VS for Mac as well–  acido  Sep 21 at 21:05 
 
parent tag would have been nice. now I have to guess where the key goes. –  Martin  Sep 30 at 12:53

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. ;)

share improve this answer
 
 
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. –  ErAcube Sep 15 at 9:19
 
Thanks! was struggling with this for a long time! I just love how Apple errors are so instructive. –  user1909868  Sep 25 at 15:01
 
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 notwork.) –  Jason Moore  Oct 17 at 16:21

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

share improve this answer
 

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. 

share improve this answer
 

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.

share improve this answer
 

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.

Updated .PList

App Icons and Launch Images 

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.

share improve this answer
 

Follow the steps below. 1.In your Project add new file>>Asset Catlog. 2.Goto Click on your project in XCODE>>General>>App Icons 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 CFBundleIconName AppIcon This entry in your plist file.

Upload Your Binaries to Itunes.

share improve this answer
 

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.

share improve this answer
 

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

share improve this answer
 



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 seehttp://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.

share improve this question
 
1  
Have you correctly set App Icons Source to your asset catalog in your project general settings ? –  vmeyer  Sep 14 at 15:47
    
@vmeyer: but what about apps that don't use an asset catalog? –  user102008 Sep 14 at 16:33 

10 Answers

up vote 14 down vote accepted

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
  • 85.5pt 2x
  • 1024pt 1x

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

share improve this answer
 
1  
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. –  firepol  Sep 15 at 8:58 
    
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. –  ErAcube  Sep 15 at 9:22
1  
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. –  firepol  Sep 15 at 11:49
1  
Here the bug report for xamarin / visual studio for mac users to follow: bugzilla.xamarin.com/show_bug.cgi?id=59515 –  firepol  Sep 15 at 12:01

Simplest solution is 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

share improve this answer
 
2  
This worked for me. Thank you so much! btw this works on VS for Mac as well–  acido  Sep 21 at 21:05 
    
parent tag would have been nice. now I have to guess where the key goes. –  Martin  Sep 30 at 12:53

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. ;)

share improve this answer
 
    
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. –  ErAcube Sep 15 at 9:19
    
Thanks! was struggling with this for a long time! I just love how Apple errors are so instructive. –  user1909868  Sep 25 at 15:01
    
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 notwork.) –  Jason Moore  Oct 17 at 16:21

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

share improve this answer
 

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. 

share improve this answer
 

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.

share improve this answer
 

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.

Updated .PList

App Icons and Launch Images 

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.

share improve this answer
 

Follow the steps below. 1.In your Project add new file>>Asset Catlog. 2.Goto Click on your project in XCODE>>General>>App Icons 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 CFBundleIconName AppIcon This entry in your plist file.

Upload Your Binaries to Itunes.

share improve this answer
 

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.

share improve this answer
 

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

share improve this answer
 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值