Download and unzip the latest releasemapbox-ios-sdk-5.2.0-dynamic.zip
Embed the framework
Mapbox.framework into your project's Embedded Binaries section in the project editor. In the sheet that appears, make sure Copy items if needed is checked, then click Finish.
In the Build Phases tab of the project editor, click the + button at the top and select “New Run Script Phase”. Enter the following code into the script text field: