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

mapbox-navigation-ios arm64 #3119

Closed
Martifan opened this issue Jun 26, 2021 · 2 comments
Closed

mapbox-navigation-ios arm64 #3119

Martifan opened this issue Jun 26, 2021 · 2 comments

Comments

@Martifan
Copy link

Martifan commented Jun 26, 2021

Mapbox Navigation SDK version: 1.4

Steps to reproduce

Hello I am trying to install Mapbox Navigation SDK for iOS on Apple Silicon Mac (arm64) processor

  1. cd ~ (go to the home directory)
    touch .netrc (create file)
    open .netrc (open .netrc)
    Set required data.
    Save
  2. Create Podfile (pod init)
  3. I open and add text (pod 'MapboxNavigation', '~> 1.4') and saved
  4. I run the command to install the library (pod install)

Actual behavior

I get an error

Installing Mapbox-iOS-SDK (6.3.0)
[!] Error installing Mapbox-iOS-SDK
[!] /usr/bin/curl -f -L -o /var/folders/_l/8x9m9wv16hn8xn_3jk1pfk9m0000gn/T/d20210626-9032-colqj3/file.zip https://api.mapbox.com/downloads/v2/mobile-maps/releases/ios/packages/6.3.0/mapbox-ios-sdk-dynamic.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.1 cocoapods-downloader/1.4.0'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 401 Unauthorized

help me please any ideas
Thanks in advance everyone

@S2Ler
Copy link
Contributor

S2Ler commented Jun 29, 2021

@Martifan According to the error message, you have an issue with your ~/.netrc file. Please follow this guide https://github.com/mapbox/mapbox-navigation-ios/blob/main/README.md#using-cocoapods. I want to point out that you should create .netrc file at ~/.netrc path.

@1ec5
Copy link
Contributor

1ec5 commented Jun 29, 2021

Hello I am trying to install Mapbox Navigation SDK for iOS on Apple Silicon Mac (arm64) processor

Note that navigation SDK v1.x unfortunately does not support Apple Silicon: #2672. Navigation SDK v2.0, which is in beta, does support Apple Silicon.

Closing because it looks like your immediate issue with the download error has a resolution above. Please reopen if you continue to experience installation issues.

@1ec5 1ec5 closed this as completed Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants