- iOS 12.0 or later.
- Xcode 12.0 or later.
- Add the following dependency to your project's
Package.swift
.
dependencies: [
.package(url: "https://github.com/YAtechnologies/GoogleMaps-SP.git", .upToNextMinor(from: "6.0.0"))
]
-
If you use a Google Maps Swift package in an app with extensions, the build system incorrectly embeds the binary dependencies alongside the extension in the PlugIns directory, causing validation of the archived app to fail. (69834549) (FB8761306)
Workaround: Add a scheme post-build action which removes the embedded binaries from the PlugIns directory after the build, e.g.
rm -rf "${TARGET_BUILD_DIR}/${TARGET_NAME}.app"/PlugIns/*.framework
.
If you find this package useful please consider STARRING 🌟 this repository.
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.