You may also need to delete your derived data folder. If these errors occur, try resetting the SPM cache by opening the File menu in Xcode and selecting Swift Packages > Reset Package Cache. Xcode may fail to resolve SPM artifacts with errors such as artifact of binary target 'MapboxCommon' failed extraction: The operation couldn’t be completed.If you run into issues while installing the framework with SPM, try following these steps: Swift Package Manager (SPM) is the recommended method for installing the Maps SDK. Note that installing Maps SDK v6.0.0, Navigation SDK v1.0.0, or Search SDK v1.0.0 or greater via Carthage or CocoaPods requires two access tokens: one to download the SDK and another to authenticate map requests. If you see 401 responses after your app builds successfully, make sure that you've configured all credentials correctly. Learn how to troubleshoot issues when installing the Mapbox Maps or Navigation SDK for iOS with Swift Package Manager, CocoaPods, and Carthage.
0 Comments
Leave a Reply. |