[Bug]:SPM: unexpectedly did not find the new dependency in the package graph for mapbox-navigation-ios 3.25.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 12/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- ios, macos, swift
- Domain
- mobile-dev
Research direction
The failure is a 403 from the Mapbox prerelease download URL for the MapboxNavSdk.xcframework binary target, which SwiftPM reports as a missing dependency in the package graph. Start by reproducing the curl request in the issue with a valid .netrc, then check whether the 0.25.0 artifact is gated behind prerelease access rather than a code defect. Done would be a documented access path or a version constraint that lets the package resolve, which likely needs Mapbox maintainers rather than a code change.
Written by the indexing model from the issue text.
Description
Mapbox Navigation SDK version
SPM: unexpectedly did not find the new dependency in the package graph for mapbox-navigation-ios 3.25.0
Steps to reproduce
.netrc file and public token is ok
1.Open your Xcode project or workspace, then go to File > Add Package Dependencies..
2.Enter https://github.com/mapbox/mapbox-navigation-ios.git as the URL and press Enter to pull in the package.
3.Set Dependency Rule to Up to Next Major Version and enter 3.32.0 as the minimum version. Click Add Package.
failed downloading 'https://api.mapbox.com/downloads/v2/navsdk-cpp-sdk/releases/ios/0.25.0/MapboxNavSdk.xcframework.zip' which is required by binary target 'MapboxNavSdk': badResponseStatusCode(403)
fatalError
unexpectedly did not find the new dependency in the package graph: sourceControl(identity: mapbox-navigation-ios, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/mapbox/mapbox-navigation-ios.git)), requirement: 3.25.0)
curl -i -L --netrc-file ~/.netrc "https://api.mapbox.com/downloads/v2/navsdk-cpp-sdk/releases/ios/0.25.0/MapboxNavSdk.xcframework.zip"
HTTP/2 403
content-type: application/json; charset=utf-8
content-length: 100
date: Sat, 10 Oct 2026 02:35:25 GMT
etag: W/"64-7xYQeA1ohQg2r8MW+kgmCKc701M"
x-powered-by: Express
cache-control: no-cache, no-store, private
access-control-allow-origin: *
access-control-allow-methods: GET
timing-allow-origin: *
x-content-type-options: nosniff
x-cache: Error from cloudfront
via: 1.1 3bcdc80ec3ad797e3c7157df625a1a06.cloudfront.net (CloudFront)
x-amz-cf-pop: HAN51-P1
alt-svc: h3=":443"; ma=86400
x-amz-cf-id: H_yp-b_Oh59FysWGpWXVmgl8JYnr7rzP9KWeHQvYRM5yL-mum2R06A==
{"message":"This is a prerelease API. Please contact support at [email protected] to request access."}
Expected behavior
SPM can resolve mapbox-navigation-ios dependency successfully and complete package graph construction.
Actual behavior
Package resolution aborted, throw unexpectedly did not find the new dependency in the package graph error.
Is this a one-time issue or a repeatable issue?
repeatable
- Dominant language
- Swift
- Stars
- 919
- Forks
- 328
- Avg merge
- 2d 51m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/mapbox-navigation-ios
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mapbox/mapbox-navigation-ios#4824 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
mapbox/mapbox-navigation-ios#4852 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
mapbox/mapbox-navigation-ios#4851 ·
-
[Bug]: Maneuver arrows mirror via imageOrientation only, so CarPlay draws left turns pointing rightOpenbug
Difficulty 3/5 1-2 days Newbie friendliness 70/100
mapbox/mapbox-navigation-ios#4850 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
mapbox/mapbox-navigation-ios#4846 · 2 comments ·
All issues in mapbox/mapbox-navigation-ios
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4101 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
element-hq/element-x-ios#6405 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apple/coreai-models#380 ·
Maintainers usually reply within 1 day
-
Bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
mozilla-mobile/firefox-ios#36278 ·
Maintainers usually reply within 1 day
-
product / auth product / console product / sites product / storage
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day