Skip to content

Conversation

@krozniata
Copy link
Contributor

Summary:

Enables DEFINES_MODULE in React-jsc.podspec

After upgrading app to RN 0.79, when installing pods with JSC enabled there is an error being thrown that

The following Swift pods cannot yet be integrated as static libraries
The Swift pod 'RNFlashList' depends upon 'React-jsc', which does not define modules. ...
when installing packages that use Swift

Changelog:

[IOS] [CHANGED] - enable DEFINES_MODULE in React-jsc.podspec

Test Plan:

RNTester runs and builds correctly

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels May 7, 2025
@cipolleschi
Copy link
Contributor

React-jsc is deprecated and we are going to discontinue it soon: https://reactnative.dev/blog/2025/04/08/react-native-0.79#jsc-moving-to-community-package

Have you tried using the community package?

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 8, 2025
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in 473e42b.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @krozniata in 473e42b

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request May 12, 2025
Summary:
Enables `DEFINES_MODULE` in `React-jsc.podspec`

After upgrading app to RN `0.79`, when installing pods with JSC enabled there is an error being thrown that

`The following Swift pods cannot yet be integrated as static libraries`
`The Swift pod 'RNFlashList' depends upon 'React-jsc', which does not define modules. ...`
when installing packages that use Swift

## Changelog:

[IOS] [CHANGED] -  enable `DEFINES_MODULE` in `React-jsc.podspec`

Pull Request resolved: #51160

Test Plan: RNTester runs and builds correctly

Reviewed By: huntie

Differential Revision: D74325357

Pulled By: cipolleschi

fbshipit-source-id: b994b7e678633440d5e362ae6965b2d5188d34f1
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @krozniata in 1c22a46

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request Jun 4, 2025
Summary:
Enables `DEFINES_MODULE` in `React-jsc.podspec`

After upgrading app to RN `0.79`, when installing pods with JSC enabled there is an error being thrown that

`The following Swift pods cannot yet be integrated as static libraries`
`The Swift pod 'RNFlashList' depends upon 'React-jsc', which does not define modules. ...`
when installing packages that use Swift

## Changelog:

[IOS] [CHANGED] -  enable `DEFINES_MODULE` in `React-jsc.podspec`

Pull Request resolved: #51160

Test Plan: RNTester runs and builds correctly

Reviewed By: huntie

Differential Revision: D74325357

Pulled By: cipolleschi

fbshipit-source-id: b994b7e678633440d5e362ae6965b2d5188d34f1
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @krozniata in c8fcac2

When will my fix make it into a release? | How to file a pick request?

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants