Skip to content

Commit 4da2999

Browse files
fix: update iOS version to 26.2 in CI documentation, scripts, and workflows
1 parent 3bdcc00 commit 4da2999

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/CI_DOCUMENTATION.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ All workflows use standardized tooling versions to ensure consistency:
4141

4242
| Tool | Version | Defined In |
4343
| ------------- | ----------------------------------- | -------------------------------- |
44-
| **Xcode** | `26.1` | All iOS workflows |
45-
| **iOS SDK** | `26.1` | Xcode 26.1 includes iOS 26.1 SDK |
44+
| **Xcode** | `26.2` | All iOS workflows |
45+
| **iOS SDK** | `26.2` | Xcode 26.2 includes iOS 26.2 SDK |
4646
| **Ruby** | `3.2` | `ios.yml` |
4747
| **CocoaPods** | `>= 1.13` (excludes 1.15.0, 1.15.1) | `example/Gemfile` |
4848

49-
> **Note for Local Development:** GitHub Actions `macos-latest` runners use Xcode 26.1 as the default.
49+
> **Note for Local Development:** GitHub Actions `macos-latest` runners use Xcode 26.2 as the default.
5050
> Your local machine may have a different Xcode version. The workflows are configured to match GitHub Actions'
5151
> environment. Local development can use any compatible Xcode version, but ensure simulator devices specified
5252
> in `rn-harness.config.mjs` are available on your system.
@@ -57,7 +57,7 @@ All workflows use standardized tooling versions to ensure consistency:
5757
| ------------------------ | --------------------- | ----------------------- |
5858
| **React Native Harness** | `1.0.0-alpha.21` | `package.json` |
5959
| **Android Emulator** | Pixel_API_34 (API 34) | `rn-harness.config.mjs` |
60-
| **iOS Simulator** | iPhone 17 (iOS 26.0+) | `rn-harness.config.mjs` |
60+
| **iOS Simulator** | iPhone 17 (iOS 26.2) | `rn-harness.config.mjs` |
6161

6262
### GitHub Actions
6363

@@ -114,7 +114,7 @@ All actions are pinned to specific commit SHAs for security and reproducibility:
114114
7. **React Native Harness**: Must match between:
115115
- `example/package.json`
116116
- All harness platform packages (`@react-native-harness/*`)
117-
117+
118118
## Workflows
119119

120120
#### 1. Lint (`.github/workflows/lint.yml`)
@@ -139,7 +139,7 @@ All actions are pinned to specific commit SHAs for security and reproducibility:
139139
- Sets up iOS simulator
140140
- Runs harness tests
141141
- Runs on: `macos-latest`
142-
- Uses: Xcode 26.1, Ruby 3.2, CocoaPods
142+
- Uses: Xcode 26.2, Ruby 3.2, CocoaPods
143143

144144
## Test Configuration
145145

@@ -154,7 +154,7 @@ runners: [
154154
}),
155155
applePlatform({
156156
name: 'ios',
157-
device: appleSimulator('iPhone 17', '26.0'),
157+
device: appleSimulator('iPhone 17', '26.2'),
158158
bundleId: 'mendixnative.example',
159159
}),
160160
];
@@ -169,11 +169,11 @@ The workflows handle device setup automatically:
169169

170170
### iOS
171171

172-
Make sure `iPhone 17 (iOS 26.0)` simulator is up and running. You can use the launch script:
172+
Make sure `iPhone 17 (iOS 26.2)` simulator is up and running. You can use the launch script:
173173

174174
```bash
175175
# Launch simulator automatically
176-
./.github/scripts/launch-ios-simulator.sh "iPhone 17" "26.0"
176+
./.github/scripts/launch-ios-simulator.sh "iPhone 17" "26.2"
177177

178178
# Then run tests
179179
corepack enable
@@ -210,7 +210,7 @@ yarn harness:android:with:build
210210
**iOS simulator not found or fails to boot:**
211211

212212
- Verify simulator model exists in Xcode version (`iPhone 17`)
213-
- Check iOS version compatibility (`26.0+`)
213+
- Check iOS version compatibility (`26.2`)
214214
- Review simulator launch script logs for errors
215215
- Ensure device name matches harness config exactly
216216
- Check if `jq` is installed (script requires it for JSON parsing)

.github/scripts/launch-ios-simulator.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Usage: ./launch-ios-simulator.sh <device_name> <os_version> [timeout_seconds]
55
#
66
# Examples:
7-
# ./launch-ios-simulator.sh "iPhone 17" "26.0"
8-
# ./launch-ios-simulator.sh "iPhone 17" "26.0" 120
7+
# ./launch-ios-simulator.sh "iPhone 17" "26.2"
8+
# ./launch-ios-simulator.sh "iPhone 17" "26.2" 120
99
#
1010
# Exit codes:
1111
# 0 - Success
@@ -48,7 +48,7 @@ log_error() {
4848
# Validate arguments
4949
if [ -z "$DEVICE_NAME" ] || [ -z "$OS_VERSION" ]; then
5050
log_error "Usage: $0 <device_name> <os_version> [timeout_seconds]"
51-
log_error "Example: $0 \"iPhone 17\" \"26.0\" 120"
51+
log_error "Example: $0 \"iPhone 17\" \"26.2\" 120"
5252
exit 3
5353
fi
5454

@@ -68,7 +68,7 @@ fi
6868
# Find the device UDID
6969
log_info "Finding device UDID for '$DEVICE_NAME' with iOS $OS_VERSION..."
7070

71-
# Convert version like "26.0" to runtime key format "iOS-26-0"
71+
# Convert version like "26.2" to runtime key format "iOS-26-2"
7272
IOS_RUNTIME_KEY=$(echo "$OS_VERSION" | sed 's/\./-/g')
7373

7474
# Always show available devices

.github/workflows/ios.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ on:
55

66
env:
77
DEVICE_MODEL: 'iPhone 17'
8-
IOS_VERSION: '26.0'
8+
IOS_VERSION: '26.2'
99
USE_CCACHE: 1
1010

1111
jobs:
1212
ios:
1313
name: iOS Build & Test
14-
runs-on: macos-latest
14+
runs-on: macos-26
1515
timeout-minutes: 60
1616
env:
17-
DEVELOPER_DIR: /Applications/Xcode_26.1.app/Contents/Developer
17+
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
1818

1919
steps:
2020
- name: Checkout
@@ -24,7 +24,7 @@ jobs:
2424
uses: ./.github/actions/setup-node-yarn
2525

2626
- name: Setup Xcode
27-
run: sudo xcode-select -s /Applications/Xcode_26.1.app
27+
run: sudo xcode-select -s /Applications/Xcode_26.2.app
2828

2929
- name: Setup Ruby
3030
uses: ruby/setup-ruby@d697be2f83c6234b20877c3b5eac7a7f342f0d0c

example/rn-harness.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config = {
2525
}),
2626
applePlatform({
2727
name: 'ios',
28-
device: appleSimulator('iPhone 17', '26.0'),
28+
device: appleSimulator('iPhone 17', '26.2'),
2929
bundleId: 'mendixnative.example',
3030
}),
3131
],

0 commit comments

Comments
 (0)