Repository navigation
Conversation
The SwiftPM job built only on React Native 0.87.1. Most SwiftPM users are on 0.88, and 0.89 changes the SwiftPM setup: `spm add` writes a generated xcconfig and scripts, and `--deintegrate` keeps the Podfile. CI did not see these versions, so a break would first show up in a user's project. The job now runs a matrix of 0.87.1 (the minimum for `Package.swift`), 0.88.1 (latest), and 0.89.0-rc.3 (next), each in Debug and Release. All steps stay the same for every version. A prerelease job uses `continue-on-error`, because an RC can break for reasons outside the SDK. npm also does not match a prerelease against the `>=0.65.0` peer range of the SDK, so the install step passes `--legacy-peer-deps` for prereleases only.
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📢 Type of change
📜 Description
The SwiftPM CI job now builds on React Native 0.87.1 (minimum), 0.88.1 (latest), and 0.89.0-rc.3 (next), each in Debug and Release. The steps do not change. A prerelease job uses
continue-on-error, and its install step passes--legacy-peer-deps, because npm does not match a prerelease against the>=0.65.0peer range.💡 Motivation and Context
The job built only on 0.87.1. Most SwiftPM users are on 0.88, and 0.89 changes the SwiftPM setup (a generated
ReactNativeSPM/xcconfig, and--deintegratekeeps thePodfile). Closes #7095.💚 How did you test it?
I ran the job steps locally with Xcode 27.2 for 0.88.1 and 0.89.0-rc.3:
spm add --deintegrate, the Debug and Release builds, the link and category checks, and the archive. All passed.actionlintandyarn lintpass.📝 Checklist
sendDefaultPIIis enabled.