fix(macos): include React-RCTUIKit.podspec in package files array#2963
Open
tvinhas wants to merge 1 commit into
Open
fix(macos): include React-RCTUIKit.podspec in package files array#2963tvinhas wants to merge 1 commit into
tvinhas wants to merge 1 commit into
Conversation
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.
Summary
packages/react-native/package.jsonlists three macOS-fork podspecs in thefilesarray —React-Core.podspec,React-Core-prebuilt.podspec,React.podspec— but omitsReact-RCTUIKit.podspec, which was introduced by #2847(RCTUIKit module-ification, merged March 2026). As a result the file lives in the source tree but is excluded from the npm publish.
Any downstream consumer of a published `react-native-macos@0.83` hits this immediately:
```
[!] No podspec found for `React-RCTUIKit` in `../node_modules/react-native-macos/`
```
`pod install` fails before reaching any actual install step.
Discovered while running react-native-test-app's `example-macos` against the fork's `0.83-merge` via a local Verdaccio registry — the file shows up in the source tree
(`packages/react-native/React-RCTUIKit.podspec`) but never lands in `node_modules/react-native-macos/` after install.
Fix is a one-line addition to the `files` array, right next to the other root-level podspecs. Closes the consumer-install gap for any downstream user (RNTA, Epistles, anyone else) once 0.83 ships to npm.
Test Plan
cleanly through to a `ReactTestApp.app` artifact.
Related