Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Swift pod ExpoAdapterBranch depends upon react-native-branch, which does not define modules. #84

Closed
haibert opened this issue Jun 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@haibert
Copy link

haibert commented Jun 3, 2022

Summary

I followed the instructions for the react native branch config plug in, ran eas build, the build failed with the following error.

[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `ExpoAdapterBranch` depends upon `react-native-branch`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
pod exited with non-zero code: 1

Config Plugin

@config-plugins/react-native-branch

What platform(s) does this occur on?

iOS

SDK Version

45

Reproducible demo

https://github.com/haibert/BranchIssue

@haibert haibert added the bug Something isn't working label Jun 3, 2022
@EvanBacon
Copy link
Collaborator

Running expo run:ios in the test app works as expected. Please check the versions ("react-native-branch": "^5.4.0") and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants