Skip to content

Commit 7a1e820

Browse files
committed
Target iOS 18 and macOS 15 for Xcode 16 compatibility
- Update deployment targets to iOS 18.0 and macOS 15.0 - Use iPhone 16 Pro simulator (available with Xcode 16) - Set IPHONEOS_DEPLOYMENT_TARGET=18.0 in CI Xcode 16.0 ships with iOS 18 SDK and simulators, requiring iOS 18 target. https://claude.ai/code/session_01Uec36LRgH5SETQ4PXsU86w
1 parent 7d81e9d commit 7a1e820

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212

1313
env:
1414
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
15+
SIMULATOR_NAME: "iPhone 16 Pro"
1516

1617
jobs:
1718
# Linting job
@@ -82,12 +83,12 @@ jobs:
8283
-project Trivit.xcodeproj \
8384
-scheme Trivit \
8485
-sdk iphonesimulator \
85-
-destination "platform=iOS Simulator,name=iPhone 15 Pro" \
86+
-destination "platform=iOS Simulator,name=iPhone 16 Pro" \
8687
-configuration Debug \
8788
CODE_SIGN_IDENTITY="" \
8889
CODE_SIGNING_REQUIRED=NO \
8990
CODE_SIGNING_ALLOWED=NO \
90-
IPHONEOS_DEPLOYMENT_TARGET=17.0 \
91+
IPHONEOS_DEPLOYMENT_TARGET=18.0 \
9192
| xcpretty
9293
9394
- name: Run Unit Tests
@@ -97,12 +98,12 @@ jobs:
9798
-project Trivit.xcodeproj \
9899
-scheme Trivit \
99100
-sdk iphonesimulator \
100-
-destination "platform=iOS Simulator,name=iPhone 15 Pro" \
101+
-destination "platform=iOS Simulator,name=iPhone 16 Pro" \
101102
-enableCodeCoverage YES \
102103
-resultBundlePath TestResults-iOS \
103104
CODE_SIGN_IDENTITY="" \
104105
CODE_SIGNING_REQUIRED=NO \
105-
IPHONEOS_DEPLOYMENT_TARGET=17.0 \
106+
IPHONEOS_DEPLOYMENT_TARGET=18.0 \
106107
| xcpretty --report junit || echo "Tests failed or no compatible simulator found"
107108
continue-on-error: true
108109

@@ -168,7 +169,7 @@ jobs:
168169

169170
- name: Boot Simulator
170171
run: |
171-
xcrun simctl boot "iPhone 15 Pro" || true
172+
xcrun simctl boot "iPhone 16 Pro" || true
172173
173174
- name: Run iPhone UI Tests
174175
run: |
@@ -177,12 +178,12 @@ jobs:
177178
-project Trivit.xcodeproj \
178179
-scheme Trivit \
179180
-sdk iphonesimulator \
180-
-destination "platform=iOS Simulator,name=iPhone 15 Pro" \
181+
-destination "platform=iOS Simulator,name=iPhone 16 Pro" \
181182
-resultBundlePath UITestResults-iPhone \
182183
-only-testing:TrivitUITests \
183184
CODE_SIGN_IDENTITY="" \
184185
CODE_SIGNING_REQUIRED=NO \
185-
IPHONEOS_DEPLOYMENT_TARGET=17.0 \
186+
IPHONEOS_DEPLOYMENT_TARGET=18.0 \
186187
| xcpretty
187188
continue-on-error: true
188189

project.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Trivit
22
options:
33
bundleIdPrefix: be.ballooninc
44
deploymentTarget:
5-
iOS: "17.0"
6-
macOS: "14.0"
5+
iOS: "18.0"
6+
macOS: "15.0"
77
generateEmptyDirectories: true
88
groupSortPosition: top
99
createIntermediateGroups: true
@@ -14,8 +14,8 @@ settings:
1414
CURRENT_PROJECT_VERSION: "1"
1515
SWIFT_VERSION: "5.10"
1616
ENABLE_USER_SCRIPT_SANDBOXING: false
17-
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
18-
MACOSX_DEPLOYMENT_TARGET: "14.0"
17+
IPHONEOS_DEPLOYMENT_TARGET: "18.0"
18+
MACOSX_DEPLOYMENT_TARGET: "15.0"
1919
configs:
2020
Debug:
2121
SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG

0 commit comments

Comments
 (0)