- Add this repository to your
Cartfile
.
github "googlemaps/google-maps-ios-utils"
- Run
carthage update --platform iOS
. - Add the Maps SDK for iOS frameworks into your project by dragging
GoogleMaps.framework
,GoogleMapsBase.framework
andGoogleMapsCore.framework
in theCarthage/Build/iOS
directory into the top level directory of your Xcode project (premium plan customers should also addGoogleMapsM4B.framework
into the project). - Add the Maps SDK for iOS Utilities framework by dragging
GoogleMapsUtils.framework
in theCarthage/Build/iOS/Static
directory into the top level directory of your Xcode project. - Add
GoogleMaps.bundle
by draggingCarthage/Build/iOS/GoogleMaps.framework/Resources/GoogleMaps.bundle
into the top level directory of your Xcode project. - Open the Build Phases tab for your application’s target, and within Link Binary with Libraries, add the additional following frameworks:
- Accelerate.framework
- CoreData.framework
- CoreGraphics.framework
- CoreImage.framework
- CoreLocation.framework
- CoreTelephony.framework
- CoreText.framework
- GLKit.framework
- ImageIO.framework
- libc++.tbd
- libz.tbd
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- Open the Build Settings tab for you application’s target, add
-ObjC
in the Other Linker Flags section.