Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:Unable to Resolve Package #4739

Open
MahiShahane opened this issue Dec 6, 2024 · 7 comments
Open

[Bug]:Unable to Resolve Package #4739

MahiShahane opened this issue Dec 6, 2024 · 7 comments
Assignees
Labels
bug Something isn’t working

Comments

@MahiShahane
Copy link

MahiShahane commented Dec 6, 2024

Mapbox Navigation SDK version

3.5.0

1

Created .netrc file. used sk as password and when try to install SPM getting above issue.

Tried with version 3.1.0, 3.2.0, main still having the same problem.

When should we get latest SPM support for Xcode 16.1 and Swift 6

@MahiShahane MahiShahane added the bug Something isn’t working label Dec 6, 2024
@kried
Copy link
Contributor

kried commented Dec 9, 2024

Hi @MahiShahane

Please make sure you configure the secret token for Mapbox in the .netrc file. This token is required when downloading the SDK binaries for use in your project.

Please make sure to clean up the Xcode's DerivedData and SPM cache.
Please attach the archive with the sample app project if the issue remains.
Screenshot 2024-12-09 at 10 47 04

@kried kried self-assigned this Dec 9, 2024
@MahiShahane
Copy link
Author

MahiShahane commented Dec 9, 2024

Hello @kried,

Added .netrc file as per documentation with secret token. which is having Download:READ permission

Used following commands :

rm -rf ~/Library/org.swift.swiftpm
rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/Developer/Xcode/DerivedData

Please check attached file screenshot.

Screenshot 2024-12-09 at 4 51 39 PM

Screenshot 2024-12-09 at 4 52 06 PM

Screenshot 2024-12-09 at 4 53 00 PM Screenshot 2024-12-09 at 4 54 07 PM

@MahiShahane
Copy link
Author

More Details :

MacOS : 15.1.1 (24B91)
Xcode : Version 16.1 (16B40)

@jbird84
Copy link

jbird84 commented Dec 18, 2024

Make sure you do not install any mapbox dependencies before navigation. As navigation brings in things like MapboxMaps, MapboxCommon and a couple others. I added mapBoxMaps first then tried to add MapBoxNavigation and received the same failures you posted above. I removed all mapbox dependancies and then only added Mapboxnavigation to solve my issues. I hope this helps.

@MahiShahane
Copy link
Author

Thank you for the response @jbird84. Created new project for that and only added navigation sdk still facing the issue. Check the last uploaded screenshots.

@jbird84
Copy link

jbird84 commented Dec 26, 2024

I did a package update today and now I am actually getting this same error too. WHAT IS GOING ON Mapbox?

@jbird84
Copy link

jbird84 commented Dec 26, 2024

Looks to be with MapboxCore too... Not sure how to open these logs to copy them but one is SUPER long: here are screenshots.
Screenshot 2024-12-26 at 2 22 06 PM
Screenshot 2024-12-26 at 2 21 31 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

No branches or pull requests

3 participants