Skip to content

ci: add Xcode 27 SPM build workflow#8030

Open
itaybre wants to merge 1 commit into
mainfrom
test/xcode_27
Open

ci: add Xcode 27 SPM build workflow#8030
itaybre wants to merge 1 commit into
mainfrom
test/xcode_27

Conversation

@itaybre

@itaybre itaybre commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a new GitHub Actions workflow that builds the SDK from source (SPM) with Xcode 27
  • Builds all 5 platforms: iOS, watchOS, macOS, tvOS, visionOS
  • Separate workflow so failures can be ignored while Xcode 27 is in beta

#skip-changelog

@itaybre itaybre added the ready-to-merge Use this label to trigger all PR workflows label Jun 9, 2026
@itaybre itaybre marked this pull request as ready for review June 10, 2026 02:54

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4ebf918. Configure here.

- name: Setup Xcode
uses: ./.github/actions/setup-xcode
with:
version: "27"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Beta Xcode excluded during selection

High Severity

The workflow runs on the xcode-beta pool and requests Xcode 27, but ./.github/actions/setup-xcode runs scripts/ci-select-xcode.sh, which removes beta/RC lines from xcodes installed before resolving the version. Prerelease Xcode 27 on that pool may never match, so Setup Xcode can fail or select a non-27 toolchain and the SPM matrix never validates Xcode 27.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4ebf918. Configure here.

@NinjaLikesCheez NinjaLikesCheez Jun 10, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This appears to be correct (but I assume bitrise are installing to a different path) - maybe we should add a '--allow-prerelease' or similar flag to the ci-select-xcode.sh script

version: "27"
- name: Build SPM (${{ matrix.platform }})
run: |
set -o pipefail && NSUnbufferedIO=YES xcodebuild \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

m: Reason not to use our sentry-xcodebuild.sh wrapper script?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just cloned the build-spm step, we should update both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants