-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
iOS build error after upgrading from 7.0.9 to 8.0.0 (on New Build System) #932
Comments
|
I've been hitting this also, after upgrading to the latest React Native version (0.62.2) with the new build system. Is this a known incompatibility? |
I managed to solve this on my project, though the issue seems unique to Mapbox or at least unique to the some of the file types that Mapbox imports. This is related to a change in Cocoapod configurations new to React Native 0.62. The problemCocoapods and Mapbox don't play well when Mapbox is included in multiple build targets (such as your app and the tests for your app). A change in React Native 0.62 adjusted the cocoapods import structure for test targets, uncovering this issue. The fixIn the tests section of your Podfile, change facebook/react-native@70274f4#diff-a3c6c8e64fbbd1efef345c45e3811571R73 From what I can tell, this line either enables or disables the import of Cocoapods into the test target of your app. These scripts are auto-generated when you run Some other linksIt seems like this type of issue has plagued Cocoapods with Xcode's new build system. There were some issues like this that were similar, where maintainers had to manually omit certain filetypes so they didn't get duplicated. I'm guessing we're hitting something similar with Here's a link directly to a similar issue on the main |
Describe the bug
Using the new build system, everything was fine with version 7.0.9. Since upgrading to 8.0.0, I'm receiving the following error when building on iOS:
Building using the Legacy Build System works fine., but we'd like to continue using the new build system.
These are the contents of

[CP] Embed Pods Frameworks
build phase:Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: