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
+12
View File
@@ -29,7 +29,15 @@ targets:
type: application
platform: iOS
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
excludes:
- "AppIcon.icon"
- path: Flixy/AppIcon.icon
type: file
dependencies:
- target: DownloadWidget
- package: FlixyKit
@@ -46,6 +54,10 @@ targets:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.scarriffleservices.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.
TARGETED_DEVICE_FAMILY: "1,2"
CODE_SIGN_STYLE: Automatic