Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]:SPM: unexpectedly did not find the new dependency in the package graph for mapbox-navigation-ios 3.25.0

Open
#4,858 0 comments 0 reactions 0 assignees View on GitHub

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

bug
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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/mapbox-navigation-ios

All issues in mapbox/mapbox-navigation-ios

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.