Skip to content

[0.88] Stop re-creating library package roots on every sync #1421

Description

@chrfalch

Target Branch

0.88

Link to commit or PR to be picked

react/react-native#58597

Description

Fixes an iOS SwiftPM autolinking bug where Xcode kept re-syncing and recreating library package roots, causing “Missing package product” build failures for apps using self-managed libraries with their own Package.swift files. It makes the generated library sync idempotent and ignores Xcode’s own .swiftpm metadata when deciding whether a sync is stale, so repeated builds no longer

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions