-
-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I'm using the @rnmapbox/maps package for Mapbox in Expo.
I need turn-by-turn navigation, that's why I tried to implement this one as well. I always get this error when trying to build a development build:
Multiple commands produce '/Users/cedric/Library/Developer/Xcode/DerivedData/MyAppName-.../MyAppName.app/PrivacyInfo.xcprivacy'
After many discussions with cursor, it always came to the same conclusion, that both packages were trying to copy their own version of the privacy manifest PrivacyInfo.xcprivacy. The paths to both files are:
apps/rider_app/ios/Pods/MapboxCoreNavigation/Sources/MapboxCoreNavigation/Resources/PrivacyInfo.xcprivacyapps/rider_app/ios/Pods/MapboxMaps/Sources/MapboxMaps/PrivacyInfo.xcprivacy
One thing I tried was to create a config plugin that changes/adds some code in the Podfile's post_install hook that deletes both privacy manifests during (or after?) prebuild. I stopped halfway through trying as I found that expo recommends against modifying the Podfile.
The reason I tried to go with this package first is because the more popular one ( @homeeondemand/react-native-mapbox-navigation ) hasn't received a commit since over 2 years.
I'll try other packages now or even try native coding myself while waiting to see if anyone has a solution for the problem I had with pawan-pk's package.