Skip to content

ci: run macOS jobs on Xcode 27.2 - #1446

Open
demolaf wants to merge 1 commit into
chore/remove-cocoapodsfrom
fix/ci-xcode-27
Open

demolaf wants to merge 1 commit into
chore/remove-cocoapodsfrom
fix/ci-xcode-27

Conversation

@demolaf

@demolaf demolaf commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

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

  • Switch every macOS job from macos-15/macos-26 to the xcode-27 runner, the only GitHub image that ships Xcode 27.
  • Pin Xcode 27.2 everywhere, and use the iPhone 18 Pro simulator in workflows, test.sh and swiftui-tests.sh, since the Xcode 27 image has no iPhone 17 Pro.
  • Update the CI pins in the okf-bundle docs and CONTRIBUTING.md to match.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread test.sh
-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' \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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.

Suggested change
-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.
@demolaf
demolaf changed the base branch from main to chore/remove-cocoapods December 2, 2026 15:07
@demolaf
demolaf added this pull request to stack #1448 December 2, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant