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:
Guido
2026-09-11 20:45:36 +02:00
co-authored by Claude Opus 5
parent 222ac1c968
commit 7170595436
4 changed files with 12 additions and 4 deletions

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

@@ -1,4 +0,0 @@
{
"images" : [ { "idiom" : "universal", "platform" : "ios", "size" : "1024x1024" } ],
"info" : { "author" : "xcode", "version" : 1 }
}
+12
View File
@@ -29,7 +29,15 @@ targets:
type: application type: application
platform: iOS platform: iOS
sources: sources:
# Das Icon ist ein Bündel, also technisch ein Ordner. Ohne diesen
# Ausschluss läuft XcodeGen hinein und trägt icon.json und play.svg
# einzeln ein — dann fehlt das Icon, ohne dass irgendwo ein Fehler
# auftaucht.
- path: Flixy - path: Flixy
excludes:
- "AppIcon.icon"
- path: Flixy/AppIcon.icon
type: file
dependencies: dependencies:
- target: DownloadWidget - target: DownloadWidget
- package: FlixyKit - package: FlixyKit
@@ -46,6 +54,10 @@ targets:
base: base:
PRODUCT_BUNDLE_IDENTIFIER: com.scarriffleservices.flixy PRODUCT_BUNDLE_IDENTIFIER: com.scarriffleservices.flixy
PRODUCT_NAME: Flixy PRODUCT_NAME: Flixy
# Verweist auf AppIcon.icon. Der frühere leere AppIcon.appiconset im
# Asset-Katalog ist entfernt — zwei Dinge namens AppIcon, und Xcode
# nimmt das falsche.
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
# iPhone und iPad aus demselben Target. # iPhone und iPad aus demselben Target.
TARGETED_DEVICE_FAMILY: "1,2" TARGETED_DEVICE_FAMILY: "1,2"
CODE_SIGN_STYLE: Automatic CODE_SIGN_STYLE: Automatic