App-Icon eingebunden
AppIcon.icon liegt jetzt im App-Target und wird über ASSETCATALOG_COMPILER_APPICON_NAME verwendet. Der frühere leere AppIcon.appiconset im Asset-Katalog ist raus — zwei Dinge namens AppIcon, und Xcode nimmt das falsche. Das Bündel ist technisch ein Ordner. Ohne den Ausschluss in den Quellen läuft XcodeGen hinein und trägt icon.json und play.svg einzeln ein; das Icon fehlt dann, ohne dass irgendwo ein Fehler auftaucht. Deshalb der Ausschluss plus ein ausdrücklicher Eintrag mit type: file. Geprüft am fertigen Bundle: AppIcon60x60@2x.png und die iPad-Variante werden erzeugt, CFBundleIconName steht in der Info.plist, und auf dem Homescreen ist es zu sehen. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : {
|
||||
"automatic-gradient" : "display-p3:0.44346,0.27892,0.96783,1.00000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : {
|
||||
"automatic-gradient" : "display-p3:0.14018,0.08725,0.31323,1.00000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups" : [
|
||||
{
|
||||
"layers" : [
|
||||
{
|
||||
"fill" : {
|
||||
"automatic-gradient" : "display-p3:0.73918,0.46760,0.96783,1.00000"
|
||||
},
|
||||
"image-name" : "play.svg",
|
||||
"name" : "play",
|
||||
"position" : {
|
||||
"scale" : 1.18,
|
||||
"translation-in-points" : [
|
||||
49.7265625,
|
||||
1.468530916781674e-05
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"shadow" : {
|
||||
"kind" : "neutral",
|
||||
"opacity" : 0.5
|
||||
},
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"supported-platforms" : {
|
||||
"circles" : [
|
||||
"watchOS"
|
||||
],
|
||||
"squares" : "shared"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user