Swiftpack.co - yourparkingspace/googlemaps-spm as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yourparkingspace.
yourparkingspace/googlemaps-spm 8.1.0
SPM for Google Maps SDK for iOS
⭐️ 0
🕓 3 weeks ago
.package(url: "https://github.com/yourparkingspace/googlemaps-spm.git", from: "8.1.0")

Google Maps Swift Package

Experimental support for Swift Package Manager and ARM64 simulator for Google Maps and Places SDK.

While Google provides XCFrameworks with ARM64 simulator support as a beta release, the frameworks do not work when added as a dependency to Swift Package Manager. Google still offers legacy fat frameworks that can be easily combined into XCFrameworks and used from Swift Package, but they lack support for the ARM64 simulator.

This project rebuilds Google's beta XCFrameworks so they can be added as a dependency to Swift Package, preserving support for the ARM64 simulator, which allows development on Apple Silicon (M1, etc.) computers.


Add as a dependecy to your Swift Package

dependencies: [
  .package(url: "https://github.com/yourparkingspace/GoogleMaps-SP.git", .upToNextMinor(from: "7.1.0"))

Build XCFrameworks yourself

  1. Clone this project.
  2. Download official XCFrameworks from Google:
  1. Unzip and put downloaded XCFrameworks inside GoogleFrameworks directory
  2. Run make_xcframeworks.sh script.
  3. You can find your new XCFrameworks in Build directory.

License & Copyright

The Google Maps iOS SDK and Google Places iOS SDK libraries are the property of Google and are subject to Google's Terms of Service. See LICENSE.google for details.

This repo is a fork of YAtechnologies/GoogleMaps-SP with some tweeks that adds support for ARM64 simulator.

This repo is provided as is, without any guarantee.


Stars: 0
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

3 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics