Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

CFBundleIconName missing in plist? Unable to submit to appstore.
Started by roballison182 Sep 14 2017 04:05 AM

- - - - -
38 replies to this topic

[TOPIC CONTROLS]
Page 2 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 804 posts
  • Corona Staff

Glad you could resolve your issue. Not having transparency is requirement of new App Store, we can't do anything about it. Also, note new 1024x1024 icon.



[TOPIC: post.html]
#27

carloscosta

[GLOBAL: userInfoPane.html]
carloscosta
  • Contributor

  • 649 posts
  • Corona SDK

Yes, i notice the 1024x1024 icon. app is already waiting for review now :)

 

thanks for your help, vlads.



[TOPIC: post.html]
#28

dmarques42

[GLOBAL: userInfoPane.html]
dmarques42
  • Enthusiast

  • 53 posts
  • Corona SDK

Be sure you include the Contents.json files in both Images.xcassets and Appicon.appiconset directories. That fixed my problems which seemed to be the same as yours.



[TOPIC: post.html]
#29

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 613 posts
  • Corona SDK

@vlads, this CFBundleIconName issue is not yet solved. I followed your simply steps and copied over the default folder. I then attempted to create a build without copying over my own icons, I get an error message - maybe this has something to do with the contents.json file which lists icons that you did not mention should be in the new folder. Please help! I cannot create any new builds for testing on device.

 

I'm using iOS SDK 11 and Daily Build 3155.

 

BUILD FAILED
2017-10-01 23:31:10.159 ibtoold[10647:3934712] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration (/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework), error = Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
  Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit
  Reason: image not found" UserInfo={NSLocalizedFai …       0x0000000104f67cce _IDEInitializeOnePlugInAndPrerequisites + 2324
    11  IDEFoundation                       0x0000000104f675d5 _IDEInitializeOnePlugInAndPrerequisites + 539
    12  IDEFoundation                       0x0000000104f675d5 _IDEInitializeOnePlugInAndPrerequisites + 539
    13  IDEFoundation                       0x0000000104f65cca _IDEInitializePlugIns + 1604
    14  IDEFoundation                       0x0000000104f65081 IDEInitialize + 8547
    15  ibtoold                             0x00000001038d75a9 ibtoold + 71081
    16  ibtoold                             0x00000001038d6724 ibtoold + 67364
    17  libdyld.dylib                       0x00007fff8bccc235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

As you mentioned, I removed the CFBundleIconFiles array from the plist and added the entry new as you suggested - see below:
...
    iphone = {
        xcassets="Images.xcassets",
        plist = {
...

 

I have noticed that your template only includes the following icon filenames:

                "Icon-40.png",
                "Icon-58.png",
                "Icon-76.png",
                "Icon-80.png",
                "Icon-87.png",
                "Icon-120.png",
                "Icon-152.png",
                "Icon-167.png",
                "Icon-180.png",
 
But as you will see, the contents.json file located in the images/xcassets/AppIcon.appiconset folder includes many more:
{
  "images" : [
    {
      "size" : "20x20",
      "idiom" : "iphone",
      "filename" : "Icon-40.png",
      "scale" : "2x"
    },
    {
      "idiom" : "iphone",
      "size" : "20x20",
      "scale" : "3x"
    },
    {
      "size" : "29x29",
      "idiom" : "iphone",
      "filename" : "Icon-58.png",
      "scale" : "2x"
    },
    {
      "size" : "29x29",
      "idiom" : "iphone",
      "filename" : "Icon-87.png",
      "scale" : "3x"
    },
    {
      "size" : "40x40",
      "idiom" : "iphone",
      "filename" : "Icon-80.png",
      "scale" : "2x"
    },
    {
      "idiom" : "iphone",
      "size" : "40x40",
      "scale" : "3x"
    },
    {
      "size" : "60x60",
      "idiom" : "iphone",
      "filename" : "Icon-120.png",
      "scale" : "2x"
    },
    {
      "size" : "60x60",
      "idiom" : "iphone",
      "filename" : "Icon-180.png",
      "scale" : "3x"
    },
    {
      "idiom" : "ipad",
      "size" : "20x20",
      "scale" : "1x"
    },
    {
      "idiom" : "ipad",
      "size" : "20x20",
      "scale" : "2x"
    },
    {
      "idiom" : "ipad",
      "size" : "29x29",
      "scale" : "1x"
    },
    {
      "idiom" : "ipad",
      "size" : "29x29",
      "scale" : "2x"
    },
    {
      "idiom" : "ipad",
      "size" : "40x40",
      "scale" : "1x"
    },
    {
      "idiom" : "ipad",
      "size" : "40x40",
      "scale" : "2x"
    },
    {
      "size" : "76x76",
      "idiom" : "ipad",
      "filename" : "Icon-76.png",
      "scale" : "1x"
    },
    {
      "size" : "76x76",
      "idiom" : "ipad",
      "filename" : "Icon-152.png",
      "scale" : "2x"
    },
    {
      "size" : "83.5x83.5",
      "idiom" : "ipad",
      "filename" : "Icon-167.png",
      "scale" : "2x"
    },
    {
      "size" : "1024x1024",
      "idiom" : "ios-marketing",
      "filename" : "Icon-1024.png",
      "scale" : "1x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}
 
But what about my app that has been using a more complete list of images, like this:
            CFBundleIconFiles = {
                "Icon.png",
                "Icon@2x.png",
                "Icon-60.png",
                "Icon-60@2x.png",
                "Icon-60@3x.png",
                "Icon-72.png",
                "Icon-72@2x.png",
                "Icon-76.png",
                "Icon-76@2x.png",
                "Icon-167.png",
                "Icon-Small-40.png",
                "Icon-Small-40@2x.png",
                "Icon-Small-40@3x.png",
                "Icon-Small-50.png",
                "Icon-Small-50@2x.png",
                "Icon-Small.png",
                "Icon-Small@2x.png",
                "Icon-Small@3x.png",
            },
 
Any help is much appreciated.
 


[TOPIC: post.html]
#30

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 613 posts
  • Corona SDK

@Rob, can also look at this issue, too? As described above, I'm unable to create any new builds on device and submit a new update to the App Store for final testing.



[TOPIC: post.html]
#31

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 613 posts
  • Corona SDK

@vlad and @Rob, I found the problem - the moment I opened Xcode directly, it prompted me to install an update. Once that completed, I was able to create a build. For those of us that almost never open Xcode, it is likely you will see others have this same experience. If possible, you might want to consider checking the Xcode version requirement when compiling a Corona build. Just a thought.



[TOPIC: post.html]
#32

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 613 posts
  • Corona SDK

@vlad and @Rob, can you please direct me to a complete list of icons for iOS, or does this short list really reduce the number of icon files we include in our builds?

 

I want to support all iPhones and iPads only.



[TOPIC: post.html]
#33

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 804 posts
  • Corona Staff

Those icons in template would work for all iOS devices. If you want to provide additional icons, you can add them manually with Xcode - drag&drop Images.xcassets onto Xcode dock icon. This would open asset catalog editor. Make sure not to rename the Icon name, but you can customize additional icons with it's UI if you wish so. Also, make sure to update new 1024x icon provided in template.



[TOPIC: post.html]
#34

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,921 posts
  • Enterprise

[TOPIC: post.html]
#35

yosu

[GLOBAL: userInfoPane.html]
yosu
  • Contributor

  • 521 posts
  • Corona SDK

I had this issue on Native build.

 

On top of the solution above, you will also need to ensure that the icon bundle is selected in the 'App Icons and Launch Images' in xCode.

 

 

Attached Thumbnails

  • Screen Shot 2017-12-07 at 1.27.23 AM.png


[TOPIC: post.html]
#36

bluedeskstudios

[GLOBAL: userInfoPane.html]
bluedeskstudios
  • Observer

  • 15 posts
  • Corona SDK

Thanks SO MUCH y'all! This helped me immensely as well as the docs page about the xcassets!



[TOPIC: post.html]
#37

bluedeskstudios

[GLOBAL: userInfoPane.html]
bluedeskstudios
  • Observer

  • 15 posts
  • Corona SDK

[attachment=7239:error-missing icons.PNG]iphone = 
{
     xcassets = "Images.xcassets",
     plist = 
     {
        UIStatusBarHidden = false,
        UILaunchStoryboardName = "LaunchScreen",
     },
},

This is my entry in build.settings but I am still getting the error in the file attached

Attached Thumbnails

  • error-missing icons.PNG


[TOPIC: post.html]
#38

bluedeskstudios

[GLOBAL: userInfoPane.html]
bluedeskstudios
  • Observer

  • 15 posts
  • Corona SDK

I am getting a similar issue, but I added the xcassets = "Images.xcassets" to the iphone table, not the plist table. I am still getting an error, however.

 

This is what my build.settings file says for the iphone table:

iphone = 
{
     xcassets = "Images.xcassets",
     plist = 
     {
        UIStatusBarHidden = false,
        UILaunchStoryboardName = "LaunchScreen",
     },
}, 

I am still getting the error in the attached image file.

 

Is there anything I can do?

 

Attached Thumbnails

  • error-missing icons.PNG


[TOPIC: post.html]
#39

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,921 posts
  • Enterprise

Probably the easiest thing to do is to use the Corona welcome window and create a new project and copy the entire Images.xassets folder to your project and see if these errors go away. You can also look at the build.settings file and make sure your build.settings matches whats there.

 

Then submit and see if the errors go away. Then start replacing the various Icon-xx.png files with your own.

 

Rob




[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]