Skip to content

mapbox/mapbox-common-ios

Folders and files

NameName
Last commit message
Last commit date
Nov 26, 2024
Aug 22, 2024
Jan 23, 2021
Nov 8, 2024
Jan 17, 2025
Nov 13, 2024
Jan 23, 2021
Mar 7, 2024
Dec 18, 2024
Jan 17, 2025
Dec 17, 2024

Repository files navigation

mapbox-common-ios

MapboxCommon provides common functionality among all Mapbox SDKs including:

To learn more about these SDKs please visit their repos on GitHub and the documentation at https://docs.mapbox.com/.

Prerequisites

Before you can download the Mapbox Common SDK, you need to create a token with DOWNLOAD:READ scope. Go to https://account.mapbox.com and click "Create token"

SPM, CocoaPods

Insert or append the following to ~/.netrc

machine api.mapbox.com
  login mapbox
  password <TOKEN WITH DOWNLOAD:READ SCOPE>

Integration

Swift Package Manager
Using Xcode
Detailed Flow
Using SPM Package πŸ“±πŸ–₯πŸ’»
.package(url: "https://github.com/mapbox/mapbox-common-ios.git", from: "24.9.0"),
CocoaPods πŸ“±πŸ–₯πŸ’»
pod 'MapboxCommon', '24.9.0'