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

module.modulemap causing build fail #137

Closed
hzeraat2 opened this issue Sep 8, 2020 · 3 comments
Closed

module.modulemap causing build fail #137

hzeraat2 opened this issue Sep 8, 2020 · 3 comments

Comments

@hzeraat2
Copy link

hzeraat2 commented Sep 8, 2020

In rollbar-react-native version 0.8.1 this file module.modulemap seems to be causing the build to fail:

We are using react-native version 0.60.5

node_modules/rollbar-react-native/ios/rollbar-ios/RollbarSwiftPM/module.modulemap:1:8: error: redefinition of module 'Rollbar'
module Rollbar {

Screenshot 2020-09-08 at 13 57 37

@hzeraat2
Copy link
Author

hzeraat2 commented Sep 8, 2020

Please advise!

@hzeraat2
Copy link
Author

hzeraat2 commented Sep 9, 2020

We found a solution to this problem . Basically in Xcode we had to adjust header search to avoid recursion.
So all occarances of "$(SRCROOT)/../node_modules/rollbar-react-native/ios/**" should become: "$(SRCROOT)/../node_modules/rollbar-react-native/ios"

@hzeraat2 hzeraat2 closed this as completed Sep 9, 2020
@hzeraat2
Copy link
Author

hzeraat2 commented Sep 9, 2020

This is resolved

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

No branches or pull requests

1 participant