File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2828 swift :
2929 - " 6.0"
3030 - " 6.1"
31+ - " 6.2"
3132 steps :
3233 - name : Git Checkout
3334 uses : actions/checkout@v4
3738 defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
3839 defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
3940
41+ - if : matrix.platform == 'iOS' || matrix.platform == 'tvOS'
42+ name : Create Simulator
43+ run : |
44+ sudo xcodes select 26.0
45+ xcrun simctl delete all
46+ if [[ "${{ matrix.swift }}" == "6.2" ]]; then
47+ if [[ "${{ matrix.platform }}" == "iOS" ]]; then
48+ xcrun simctl create "CI iPhone 16 Pro" "com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro" "com.apple.CoreSimulator.SimRuntime.iOS-26-0"
49+ else
50+ xcrun simctl create "CI Apple TV 4K (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-3rd-generation-4K" "com.apple.CoreSimulator.SimRuntime.tvOS-26-0"
51+ fi
52+ else
53+ if [[ "${{ matrix.platform }}" == "iOS" ]]; then
54+ xcrun simctl create "CI iPhone 15 Pro" "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro" "com.apple.CoreSimulator.SimRuntime.iOS-18-6"
55+ else
56+ xcrun simctl create "CI Apple TV 4K (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-3rd-generation-4K" "com.apple.CoreSimulator.SimRuntime.tvOS-18-5"
57+ fi
58+ fi
59+
4060 - name : Test Library
4161 uses : mxcl/xcodebuild@v3
4262 with :
You can’t perform that action at this time.
0 commit comments