Skip to content

fix(macos): include React-RCTUIKit.podspec in package files array#2963

Open
tvinhas wants to merge 1 commit into
microsoft:0.83-mergefrom
tvinhas:fix-files-include-react-rctuikit-podspec
Open

fix(macos): include React-RCTUIKit.podspec in package files array#2963
tvinhas wants to merge 1 commit into
microsoft:0.83-mergefrom
tvinhas:fix-files-include-react-rctuikit-podspec

Conversation

@tvinhas
Copy link
Copy Markdown

@tvinhas tvinhas commented May 13, 2026

Summary

packages/react-native/package.json lists three macOS-fork podspecs in the files array — React-Core.podspec, React-Core-prebuilt.podspec, React.podspec — but omits React-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

  • Before: `npm pack` on `packages/react-native` produces a tarball without `React-RCTUIKit.podspec`. RNTA's `example-macos` `pod install` fails with "No podspec found for React-RCTUIKit".
  • After: `npm pack` includes the file; `pod install` resolves the React-RCTUIKit pod from `../node_modules/react-native-macos/React-RCTUIKit.podspec` and continues. Validated locally with RNTA's `example-macos` building
    cleanly through to a `ReactTestApp.app` artifact.

Related

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant