Repository navigation
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the target iOS simulator device name from 'iPhone 17 Pro' to 'iPhone 18 Pro' in the test script. The reviewer suggests making this device name configurable via an environment variable to avoid issues for developers who do not have the exact simulator installed locally.
| -scheme "$module_name" \ | ||
| -sdk iphonesimulator \ | ||
| -destination 'platform=iOS Simulator,OS=latest,name=iPhone 17 Pro' \ | ||
| -destination 'platform=iOS Simulator,OS=latest,name=iPhone 18 Pro' \ |
There was a problem hiding this comment.
Hardcoding the simulator device name makes it difficult to run this script locally if the developer does not have the exact iPhone 18 Pro simulator installed. Consider making the simulator device name configurable via an environment variable (e.g., IOS_SIMULATOR_DEVICE), defaulting to iPhone 18 Pro. This matches the pattern used in swiftui-tests.sh and improves local testability.
| -destination 'platform=iOS Simulator,OS=latest,name=iPhone 18 Pro' \ | |
| -destination "platform=iOS Simulator,OS=latest,name=${IOS_SIMULATOR_DEVICE:-iPhone 18 Pro}" \ |
Facebook SDK 19 ships prebuilt Swift interfaces that Xcode 26.2 cannot parse. Move every macOS job to the xcode-27 runner, pin Xcode 27.2, and switch the iPhone 17 Pro simulator to iPhone 18 Pro, which the new image provides. Update the CI pins in the OKF docs, CONTRIBUTING.md and swiftui-tests.sh to match.
c43a7ed to
44194a1
Compare
Moves all macOS CI jobs to Xcode 27.2 so the Facebook SDK 19 bump in #1434 can build. Its prebuilt Swift interfaces fail to parse under Xcode 26.2. Stacked on #1447, which removes the CocoaPods jobs that cannot build on Xcode 27.
Changes
macos-15/macos-26to thexcode-27runner, the only GitHub image that ships Xcode 27.test.shandswiftui-tests.sh, since the Xcode 27 image has no iPhone 17 Pro.okf-bundledocs andCONTRIBUTING.mdto match.