Install the Maps SDK for iOS with CocoaPods

Add the following code to your Podfile.

target 'TargetNameForYourApp' do
pod 'Mapbox-iOS-SDK', '~> 4.0'
end

Then install the Pod by running the following command in Terminal.

pod install

Finally, open the resulting xcworkspace file in Xcode.

Next