kampro / GoogleMaps-SP

Swift Package for Google Maps iOS SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Maps Swift Package

Requirements

Build Requirements

Installation

  • Add the following dependency to your project's Package.swift.
dependencies: [
    .package(url: "https://github.com/YAtechnologies/GoogleMaps-SP.git", .upToNextMinor(from: "4.1.0"))
]

Known Issues

  • 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.

Building

On the project root directory run the following command:

make_xcframework.sh

This will create a directory named Build that contains zipped XCFrameworks.

The checksum file found inside the Build directory contains the SHA-256 checksum of the generated XCFramework zip files.

License

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.

About

Swift Package for Google Maps iOS SDK

License:Other


Languages

Language:Swift 52.9%Language:Shell 47.1%