@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.