Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 52f9a84

Browse files
authored
Use Icon Composer (#134)
feat: use Icon Composer closes #130
1 parent be446eb commit 52f9a84

26 files changed

Lines changed: 158 additions & 114 deletions

File tree

.github/workflows/ios.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121

2222
test:
2323
name: Test
24-
runs-on: macos-15
24+
runs-on: macos-26
2525

2626
steps:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929
- name: Set Xcode version
3030
uses: maxim-lobanov/setup-xcode@v1
3131
with:
32-
xcode-version: '16.4'
32+
xcode-version: '26.0'
3333
- name: Set default scheme
3434
run: |
3535
scheme_list=$(xcodebuild -list -json | tr -d "\n")
@@ -40,8 +40,8 @@ jobs:
4040
env:
4141
scheme: ${{ 'default' }}
4242
platform: ${{ 'iOS Simulator' }}
43-
OS: ${{ '18.6' }}
44-
name: ${{ 'iPhone 16' }}
43+
OS: ${{ '26.0' }}
44+
name: ${{ 'iPhone 17' }}
4545
run: |
4646
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
4747
if [ $scheme = default ]; then scheme=$(cat default); fi
@@ -52,8 +52,8 @@ jobs:
5252
env:
5353
scheme: ${{ 'default' }}
5454
platform: ${{ 'iOS Simulator' }}
55-
OS: ${{ '18.6' }}
56-
name: ${{ 'iPhone 16' }}
55+
OS: ${{ '26.0' }}
56+
name: ${{ 'iPhone 17' }}
5757
run: |
5858
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
5959
if [ $scheme = default ]; then scheme=$(cat default); fi

Hax.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
Extensions/URLExtension.swift,
155155
"Presentation/Components/View Models/ItemRowViewModel.swift",
156156
Presentation/Components/Views/ErrorView.swift,
157+
Resources/Icons/Hax.icon,
158+
Resources/Icons/HaxDebug.icon,
157159
Resources/Localizable.xcstrings,
158160
);
159161
target = A0AC531C2CA1DC9900872903 /* HaxWatch */;
@@ -815,7 +817,7 @@
815817
A064ABCF28D3ADA600572ADD /* Debug */ = {
816818
isa = XCBuildConfiguration;
817819
buildSettings = {
818-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDebug;
820+
ASSETCATALOG_COMPILER_APPICON_NAME = HaxDebug;
819821
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
820822
CODE_SIGN_ENTITLEMENTS = Hax/Resources/Hax.entitlements;
821823
CODE_SIGN_STYLE = Automatic;
@@ -859,7 +861,7 @@
859861
A064ABD028D3ADA600572ADD /* Release */ = {
860862
isa = XCBuildConfiguration;
861863
buildSettings = {
862-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
864+
ASSETCATALOG_COMPILER_APPICON_NAME = Hax;
863865
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
864866
CODE_SIGN_ENTITLEMENTS = Hax/Resources/Hax.entitlements;
865867
CODE_SIGN_STYLE = Automatic;
@@ -1001,7 +1003,7 @@
10011003
A0AC532C2CA1DC9A00872903 /* Debug */ = {
10021004
isa = XCBuildConfiguration;
10031005
buildSettings = {
1004-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDebug;
1006+
ASSETCATALOG_COMPILER_APPICON_NAME = HaxDebug;
10051007
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
10061008
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
10071009
CODE_SIGN_ENTITLEMENTS = HaxWatch/Resources/HaxWatch.entitlements;
@@ -1038,7 +1040,7 @@
10381040
A0AC532D2CA1DC9A00872903 /* Release */ = {
10391041
isa = XCBuildConfiguration;
10401042
buildSettings = {
1041-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1043+
ASSETCATALOG_COMPILER_APPICON_NAME = Hax;
10421044
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
10431045
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
10441046
CODE_SIGN_ENTITLEMENTS = HaxWatch/Resources/HaxWatch.entitlements;
Binary file not shown.
Binary file not shown.
Binary file not shown.

Hax/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Hax/Resources/Assets.xcassets/AppIconDebug.appiconset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)