Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Missing info.plist value
Started by yazan21 Mar 15 2019 12:22 AM

- - - - -
9 replies to this topic
apple app store plist icons xcassets

Best Answer yazan21 , 22 March 2019 - 11:28 AM

I solved the problem! It was all because of the contents.json file. I used a website to generate the icons for me, and all I did was rename the files. I completely ignored the contents.json file. I just thought of opening it and all the file names were in a different format. I copied the contents.json file from a new project and that fixed it. Thanks!

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

When I try to upload my app to the App Store, I get an email saying "A value for the info.plist key 'CFBundleIconName' is missing" 

 

I followed these instructions

https://docs.coronalabs.com/guide/distribution/xcAssets/index.html 

 

My icons are located in my app's root directory > Images.xcassets > AppIcon.appiconset 

and are all named and sized as required. 

 

My build settings file:

iphone =
    {

	xcassets = "Images.xcassets",

        plist =
        {
            NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },
	    UILaunchStoryboardName = "LaunchScreen",
            CFBundleIconFiles = {
                "Images.xcassets/AppIcon.appiconset/Icon-40.png",
                "Images.xcassets/AppIcon.appiconset/Icon-58.png", 
                "Images.xcassets/AppIcon.appiconset/Icon-76.png",
                "Images.xcassets/AppIcon.appiconset/Icon-80.png",
                "Images.xcassets/AppIcon.appiconset/Icon-87.png",
                "Images.xcassets/AppIcon.appiconset/Icon-120.png",
                "Images.xcassets/AppIcon.appiconset/Icon-152.png",
                "Images.xcassets/AppIcon.appiconset/Icon-167.png",
                "Images.xcassets/AppIcon.appiconset/Icon-180.png",
		"Images.xcassets/AppIcon.appiconset/Icon-1024.png"},	
        },
    },

I tried removing the CFBundleIconFiles table but that didn't fix it. 

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,538 posts
  • Enterprise

Go to the Corona welcome window and create a new project. Copy the build.settings and Images.xcassets folder from there (make sure to get the entire folder and it's contents and subfolders).

 

This should work.

 

Rob



[TOPIC: post.html]
#3

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

I tried that. I tried everything. I still keep getting this email.

 

Dear Developer,

We identified one or more issues with a recent delivery for your app, "". Please correct the following issues, then upload again.

Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle ''. 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.

Best regards,

The App Store Team



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,538 posts
  • Enterprise

What version of Corona are you using?

What version of Xcode do you have installed?

 

Rob



[TOPIC: post.html]
#5

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

Xcode version: 10.1
Corona version: 2018.3326 (2018.6.25)

[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,538 posts
  • Enterprise

I recommend getting the latest daily build and trying that.

 

Rob



[TOPIC: post.html]
#7

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

I just tried that, it didn't work.
Am I supposed to have an info.plist file in my app folder? Or is there something wrong with my build.settings?

[TOPIC: post.html]
#8

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

  Best Answer

I solved the problem! It was all because of the contents.json file. I used a website to generate the icons for me, and all I did was rename the files. I completely ignored the contents.json file. I just thought of opening it and all the file names were in a different format. I copied the contents.json file from a new project and that fixed it. Thanks!

[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,538 posts
  • Enterprise

I'm glad you solved it. I created a new app from Corona 3470 and uploaded the build to Apple and it processed it correctly.

 

Somehow the contents.json file seems to get missed a lot, which I don't understand where that comes from since doing a File->New Project, or downloading the zip file from GitHub or any other source where we give you working apps, that file ends up not being in the final source.

 

To help me track down why this is a problem for quite a few people, how did you get your Images.xcassets folder in your project in the first place? Where did you get the original files? Maybe the documentation isn't clear.

 

Rob



[TOPIC: post.html]
#10

yazan21

[GLOBAL: userInfoPane.html]
yazan21
  • Enthusiast

  • 51 posts
  • Corona SDK

I used the makeappicon.com website to generate my icons. This site already creates the AppIcon.appiconset folder for you. So I replaced my entire folder with the folder made with this website, and then renamed the file names. I didn't think of checking the contents.json file which still had the incorrect file names in it.


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: apple, app store, plist, icons, xcassets