From 7170595436d953e742f5680438b36a8dd4e6b9b6 Mon Sep 17 00:00:00 2001 From: Guido Date: Fri, 11 Sep 2026 20:45:36 +0200 Subject: [PATCH] App-Icon eingebunden MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- {AppIcon.icon => Flixy/AppIcon.icon}/Assets/play.svg | 0 {AppIcon.icon => Flixy/AppIcon.icon}/icon.json | 0 .../Assets.xcassets/AppIcon.appiconset/Contents.json | 4 ---- project.yml | 12 ++++++++++++ 4 files changed, 12 insertions(+), 4 deletions(-) rename {AppIcon.icon => Flixy/AppIcon.icon}/Assets/play.svg (100%) rename {AppIcon.icon => Flixy/AppIcon.icon}/icon.json (100%) delete mode 100644 Flixy/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/AppIcon.icon/Assets/play.svg b/Flixy/AppIcon.icon/Assets/play.svg similarity index 100% rename from AppIcon.icon/Assets/play.svg rename to Flixy/AppIcon.icon/Assets/play.svg diff --git a/AppIcon.icon/icon.json b/Flixy/AppIcon.icon/icon.json similarity index 100% rename from AppIcon.icon/icon.json rename to Flixy/AppIcon.icon/icon.json diff --git a/Flixy/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/Flixy/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2d72247..0000000 --- a/Flixy/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "images" : [ { "idiom" : "universal", "platform" : "ios", "size" : "1024x1024" } ], - "info" : { "author" : "xcode", "version" : 1 } -} diff --git a/project.yml b/project.yml index 3ee8958..57ec30a 100644 --- a/project.yml +++ b/project.yml @@ -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