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]: Swift package manager is not able to download the iOS sdk version 11+ #4607

Open
7thQ opened this issue Mar 11, 2024 · 2 comments
Open
Labels
bug Something isn’t working

Comments

@7thQ
Copy link

7thQ commented Mar 11, 2024

Mapbox Navigation SDK version

0

Steps to reproduce

Add map box sdk -version 11 and up on Xcode with spm

Expected behavior

Package installed

Actual behavior

Showing Recent Errors Only
invalid archive returned from 'https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.2.0/MapboxCommon.zip' which is required by binary target 'MapboxCommon'

invalid archive returned from 'https://api.mapbox.com/downloads/v2/mobile-maps-core/releases/ios/packages/11.2.0/MapboxCoreMaps.xcframework-dynamic.zip' which is required by binary target 'MapboxCoreMaps'

fatalError

unexpectedly did not find the new dependency in the package graph: sourceControl(identity: mapbox-maps-ios, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/mapbox/mapbox-maps-ios.git)), requirement: main)

Adding Package Failed 3/10/24, 4:53 PM 7.5 seconds

Is this a one-time issue or a repeatable issue?

repeatable

@7thQ 7thQ added the bug Something isn’t working label Mar 11, 2024
@kried
Copy link
Contributor

kried commented Apr 29, 2024

Hi @7thQ
The v2 Nav SDK does not support Maps SDK v11. You can try to migrate to the v3.0.1 Nav SDK to adopt the Maps SDK v11.

@rgmyyw
Copy link

rgmyyw commented May 14, 2024

It seems that there is a compatibility issue with the Cocoapods version


  binary_pod 'MapboxSearch'#, "2.0.2"
  binary_pod 'MapboxSearchUI'#, "2.0.2"
#  binary_pod 'MapboxCommon'
  binary_pod 'MapboxMaps'#, '11.3.0-rc.1'
  binary_pod 'MapboxStatic.swift'#, '0.12.0'
#  pod 'MapboxCoreNavigation'#, '~> 2.18'
  pod 'MapboxNavigation'#, '~> 2.18'


CocoaPods could not find compatible versions for pod "Turf":
  In snapshot (Podfile.lock):
    Turf (= 2.8.0)

  In Podfile:
    MapboxMaps was resolved to 11.3.0, which depends on
      Turf (= 2.8.0)

    MapboxNavigation was resolved to 0.9.0, which depends on
      Turf (~> 0.0.3)

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