You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a767b7d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/react-native/scripts/spm/__docs__/spm-autolinking-plugins.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,6 +339,7 @@ so it stays correct across repackaging.
339
339
|`generatedSources`| Recorded for the codegen step to register (e.g. a module-registry `.swift`). |
340
340
|`flavoredFrameworks`| Mandatory Debug/Release dynamic XCFramework pairs normalized outside SwiftPM. Malformed or incomplete entries are fatal. |
341
341
|`scriptPhases`| Recorded for `spm add` / `update` to emit one `PBXShellScriptBuildPhase` per entry on the app target. Malformed entries and duplicate `id`s are fatal. |
342
+
|`watchPaths`| The auto-sync staleness inputs (see [`watchPaths`](#watchpaths--plugin-staleness-inputs)). Invalid entries are dropped with a warning, not fatal. |
342
343
343
344
The plugin returns **data**. It never writes into React Native's generated tree.
344
345
RN owns the merge, so a re-sync reproduces the same `Package.swift`
0 commit comments