fix: stop actool crash from AppIcon.icon + appiconset conflict

Icon Composer AppIcon.icon must not be compiled alongside AppIcon.appiconset;
actool crashes with a nil insert error. Use appiconset only and exclude .icon
bundles from the target.
This commit is contained in:
Rocky
2026-06-19 18:39:33 +08:00
parent ef8115508c
commit 6b749802f0
+3 -9
View File
@@ -5,10 +5,6 @@
name: OSGKeyboard name: OSGKeyboard
options: options:
bundleIdPrefix: com.osgkeyboard bundleIdPrefix: com.osgkeyboard
# Icon Composer bundles must stay intact; do not explode into icon.json + SVG.
fileTypes:
icon:
file: true
# Minimum OS: iOS 26. We dropped older iOS support so the # Minimum OS: iOS 26. We dropped older iOS support so the
# legacy speech + AVAudioSession branching could be removed in # legacy speech + AVAudioSession branching could be removed in
# favour of iOS 26's `SpeechAnalyzer` (always on-device) and # favour of iOS 26's `SpeechAnalyzer` (always on-device) and
@@ -50,8 +46,7 @@ targets:
- path: OSGKeyboard - path: OSGKeyboard
excludes: excludes:
- "AppIcon.icon" - "AppIcon.icon"
- path: OSGKeyboard/AppIcon.icon - "OSGKeyboard.icon"
buildPhase: resources
entitlements: entitlements:
path: OSGKeyboard/OSGKeyboard.entitlements path: OSGKeyboard/OSGKeyboard.entitlements
properties: properties:
@@ -103,9 +98,8 @@ targets:
PRODUCT_BUNDLE_IDENTIFIER: com.osgkeyboard.ios PRODUCT_BUNDLE_IDENTIFIER: com.osgkeyboard.ios
TARGETED_DEVICE_FAMILY: "1" TARGETED_DEVICE_FAMILY: "1"
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES
# AppIcon.icon (Liquid Glass) + AppIcon.appiconset (fallback) share the name "AppIcon". # Use AppIcon.appiconset only. AppIcon.icon (Icon Composer) must not
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon # be passed to actool alongside the asset catalog — it crashes actool.
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES
dependencies: dependencies:
- target: OSGKeyboardShared - target: OSGKeyboardShared
embed: true embed: true