I am trying to run the application which is already working on Intel Chip MacBook Pro, but after changing the system to apple chip with M2 MacBook Air it’s not going to reset the swift packages
Here is the Swift Package Manager which is recommended by the it’s official documentation
MapBoxSDK in iOS
Swift Package Manager: https://github.com/mapbox/mapbox-maps-ios.git
A common choice for Dependency Rule is Up to Next Major Version, specifying 11.0.0 as the minimum version. To instead install a specific version set the Dependency Rule field to Exact Version and insert the desired version. The latest stable version of the Maps SDK is 11.3.0.
SPM finishes installing the SDK you will see 4 new dependencies under Package Dependencies: MapboxCommon, MapboxCoreMaps, MapboxMaps, and Turf.
Kindly help me to resolve this issue.
Thank you so much in advance
Setup which is already done as below
Setup .netrc file as below
machine api.mapbox.com login mapbox password YOUR_SECRET_MAPBOX_ACCESS_TOKEN
Also have added the MBXAccessToken in `Info.plist
But still it’s not able to build the app in MacBook Air M2.
Environment Setup
Xcode: 15.3 CocoaPods Version: 1.15.2 Ruby Version: ruby 3.0.0p0 - [arm64-darwin23]