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
Hello, I'm having an issue trying to use the Mapbox iOS Navigation along with the react-native-mapbox-gl module with CocoaPods.
Trying to use them together throws [!] The 'Pods-abcd' target has frameworks with conflicting names: mapbox.framework.
Steps to reproduce:
react-native init abcd
cd abcd && npm install @react-native-mapbox-gl/maps --save
cd ios && touch Podfile
Copy the following into the Podfile located abcd/ios/Podfile
platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
target 'abcd' do
# Pods for abcd
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/React'
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
# Mapbox
pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps'
pod 'MapboxNavigation', '~> 0.35.0'
target 'abcdTests' do
inherit! :search_paths
# Pods for testing
end
use_native_modules!
end
target 'abcd-tvOS' do
# Pods for abcd-tvOS
target 'abcd-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
pod install --repo-update
Notice [!] The 'Pods-abcd' target has frameworks with conflicting names: mapbox.framework. preventing the creation of the .xcworkspace
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Mapbox Navigation SDK version: 0.35.0
react-native-mapbox-gl 7.0.0-rc3
Hello, I'm having an issue trying to use the Mapbox iOS Navigation along with the react-native-mapbox-gl module with CocoaPods.
Trying to use them together throws
[!] The 'Pods-abcd' target has frameworks with conflicting names: mapbox.framework.
Steps to reproduce:
react-native init abcd
cd abcd && npm install @react-native-mapbox-gl/maps --save
cd ios && touch Podfile
pod install --repo-update
[!] The 'Pods-abcd' target has frameworks with conflicting names: mapbox.framework.
preventing the creation of the .xcworkspaceExpected behavior:
The two SDKs should be able to be used together.
Thanks !
#nitaliano/react-native-mapbox-gl#1535
The text was updated successfully, but these errors were encountered: