Closed nnhubbard closed 1 month ago
Hi
Please try the latest v3.2.0 version. This version is open-source, so it downloads fewer binary dependencies.
Please make sure you configure your secret token to access the binary dependencies.
Please try to clean up DerivedData and SPM cache (possibly ~/Library/Caches/org.swift.swiftpm
, ~/Library/org.swift.swiftpm
).
If all above did not help, please provide us with your Xcode version.
Still didn't work. I continue to get a Package Resolution Failed
message when adding the package:
Xcode 15.4
Same here. Only have MapboxMaps - Exact @ 11.5.1 and MapboxDirections - Up To Next Major @ 2.14.0.
Xcode 15.4
Hi @cufapaez
Same here. Only have MapboxMaps - Exact @ 11.5.1 and MapboxDirections - Up To Next Major @ 2.14.0.
The error on your screenshot is completely different. It says about "multiple targets named MapboxDirections
. You need to remove dependency on MapboxDirections v2.14.0 from mapbox-directions-swift. The MapboxNavigation v3.2.0 already contains the MapboxDirections
package inside.
Please follow our installation guide to specify dependencies.
Hi @nnhubbard
Please try to install the latest v3.2.0 after you cleaned the SPM cache.
Make sure you configure .netrc
token.
Your problem seems to be similar to mapbox/mapbox-maps-ios#2206 or mapbox/mapbox-maps-ios#2156 This comment should be helpful https://github.com/mapbox/mapbox-maps-ios/issues/2156#issuecomment-2036414347.
Hi @nnhubbard
Please try to install the latest v3.2.0 after you cleaned the SPM cache. Make sure you configure
.netrc
token.Your problem seems to be similar to mapbox/mapbox-maps-ios#2206 or mapbox/mapbox-maps-ios#2156 This comment should be helpful mapbox/mapbox-maps-ios#2156 (comment).
That worked. Thank you!
Mapbox Navigation SDK version
3.1.0
Steps to reproduce
Checkout this project and follow the instructions. Build in Xcode and get the errors:
Expected behavior
The project should build so that I can view the examples.
Actual behavior
Build errors
Is this a one-time issue or a repeatable issue?
repeatable