You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kinda strange problem. My Podfile contains this line: pod 'React', :path => '../node_modules/react-native', :subspecs => ['Core', 'RCTImage', 'RCTNetwork', 'RCTText', 'RCTWebSocket']
and seems like everything works (I can easily run my application), but when I try to create an archive (to upload my application to AppStore) I see the error that my application contains duplicate symbols. Somthing like that: ld: 227 duplicate symbols for architecture x86_64
If I remove the libraries that are in my Podfile from _Link binary with libraries_ list, I am able to create an archive, but when I run this application, I see another error: it runs but closes immediately showing something like "Native module cannot be null".
Is there something missing in the documentation? Should Pods be integrated some other way?
The text was updated successfully, but these errors were encountered:
You should not add those libraries to the Link Phase in your Xcode project. The linkage should be done by the xcconfigs that CocoaPods generates for you.
I can't say much about the problem without having more information. Can you provide an example project that reproduces the problem?
Kinda strange problem. My Podfile contains this line:
pod 'React', :path => '../node_modules/react-native', :subspecs => ['Core', 'RCTImage', 'RCTNetwork', 'RCTText', 'RCTWebSocket']
and seems like everything works (I can easily run my application), but when I try to create an archive (to upload my application to AppStore) I see the error that my application contains duplicate symbols. Somthing like that:
ld: 227 duplicate symbols for architecture x86_64
If I remove the libraries that are in my Podfile from _Link binary with libraries_ list, I am able to create an archive, but when I run this application, I see another error: it runs but closes immediately showing something like "Native module cannot be null".
Is there something missing in the documentation? Should Pods be integrated some other way?
The text was updated successfully, but these errors were encountered: