Skip to content

Commit 8701e09

Browse files
Pre-compile icon assets for CI compatibility
actool crashes on CI runners when compiling .icon files with macOS 26 deployment target. Commit the compiled AppIcon.icns and Assets.car instead, and copy them directly during the release build.
1 parent 1791614 commit 8701e09

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,9 @@ jobs:
8181
cp "$EXECUTABLE" "$APP_BUNDLE/Contents/MacOS/Reading List"
8282
cp Info.plist "$APP_BUNDLE/Contents/Info.plist"
8383
84-
# Compile .icon into Assets.car + AppIcon.icns
85-
xcrun actool \
86-
Resources/AppIcon.icon --app-icon AppIcon \
87-
--compile "$APP_BUNDLE/Contents/Resources" \
88-
--output-format human-readable-text \
89-
--notices --warnings --errors \
90-
--output-partial-info-plist /dev/null \
91-
--include-all-app-icons \
92-
--enable-on-demand-resources NO \
93-
--development-region en \
94-
--target-device mac \
95-
--minimum-deployment-target 26.0 \
96-
--platform macosx
84+
# Copy pre-compiled icon assets (built locally via actool from AppIcon.icon)
85+
cp Resources/AppIcon.icns "$APP_BUNDLE/Contents/Resources/AppIcon.icns"
86+
cp Resources/Assets.car "$APP_BUNDLE/Contents/Resources/Assets.car"
9787
9888
# Set version in Info.plist
9989
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $VERSION" "$APP_BUNDLE/Contents/Info.plist"

Resources/AppIcon.icns

38.9 KB
Binary file not shown.

Resources/Assets.car

1.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)