GithubHelp home page GithubHelp logo

googlemaps / ios-combine Goto Github PK

View Code? Open in Web Editor NEW
15.0 7.0 6.0 58 KB

Combine extensions for Maps and Places SDKs for iOS

License: Apache License 2.0

Swift 92.08% Ruby 3.38% C 1.45% Shell 3.10%
ios swift combine google-maps google-places language-extension

ios-combine's Introduction

Run unit tests pod Apache-2.0

GoogleMapsPlatformCombine

Description

A Swift ilbrary containing Combine support, via Publisher and Future, for Google Maps Platform iOS SDKs.

Example

Example Usage

// Create a GMSMapViewPublisher
let publisher = GMSMapViewPublisher(mapView: mapView)

// Subscribe to events
publisher.didChangeCameraPosition.sink { cameraPosition in
  print("Camera position at \(cameraPosition.target)")
}

Example Project

To run the example project:

  1. Run pod install from the Example/ directory.
  2. Open the GoogleMapsPlatformCombine.xcworkspace file in Xcode

Requirements

  • Deployment Target of iOS 13.0+

Installation

In your Podfile:

pod 'GoogleMapsPlatformCombine', '0.3.1'

Subspecs are also available if you only need Combine support for a specific SDK:

# For Combine support for the Maps SDK for iOS only
pod 'GoogleMapsPlatformCombine/Maps', '0.3.1'

# For Combine support for the Places SDK for iOS only
pod 'GoogleMapsPlatformCombine/Places', '0.3.1'

Since the Maps/Places SDKs for iOS are not yet supported in SPM, if you install this library via SPM you will need to also install Maps/Places using one of the supported package managers. See installation options for Maps and Places for more information.

Support

Encounter an issue while using this library?

If you find a bug or have a feature request, please file an issue. Or, if you'd like to contribute, please refer to our contributing guide and our code of conduct.

You can also reach us on our Discord channel.

For more information, check out the detailed guide on the Google Developers site.

ios-combine's People

Contributors

arriolac avatar googlemaps-bot avatar jpoehnelt avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-combine's Issues

Xcode 15.0 beta 7 Failed to build module 'GoogleMapsPlatformCombine'; this SDK is not supported by the compiler

Environment details

  1. macOS 13.4.1
  2. Library version: 0.3.1, with SPM on Xcode Xcode 15.0 beta 7

Steps to reproduce

  1. add the 0.3.1 version to an Xcode using SPM in Xcode 15.0 beta 7 project
  2. import GoogleMapsPlatformCombine, you will see this error message
    "Failed to build module 'GoogleMapsPlatformCombine'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1)'). Please select a toolchain which matches the SDK."

Add release workflow

Add semantic release workflow similar to the release workflow in google-maps-ios-utils

The automated release is failing 🚨

🚨 The automated release from the main branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


-> GoogleMapsPlatformCombine
-> GoogleMapsPlatformCombine (0.3.0)
- ERROR | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: Returned an unsuccessful exit code. You can use --verbose for more information.
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: note: Using new build system
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: note: Using codesigning identity override: -
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: note: Build preparation complete
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: note: Planning
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: note: Building targets in parallel
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: clang: error: linker command failed with exit code 1 (use -v to see invocation)
- NOTE | [GoogleMapsPlatformCombine/Maps,GoogleMapsPlatformCombine/Places] xcodebuild: warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the App editor. (in target 'App' from project 'App')

[!] GoogleMapsPlatformCombine did not pass validation, due to 1 error.
You can use the --no-clean option to inspect any issue.

Unfortunately this error doesn't have any additional information. Feel free to kindly ask the author of the @semantic-release/exec plugin to add more helpful information.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.