googlemaps / google-maps-ios-utils

Google Maps SDK for iOS Utility Library
https://developers.google.com/maps/documentation/ios-sdk/utility/
Apache License 2.0
712 stars 399 forks source link

GoogleMaps don't compile at Mac's (is this ever getting fixed?) #464

Closed russmenum closed 1 month ago

russmenum commented 6 months ago
  1. Specify the API at the beginning of the title (for example, "Places: ...")
  1. OS type and version: Mac OS 14, XCODE 15
  2. Library version and other environment information: See details below

Steps to reproduce

  1. install [react-native-maps-directions](https://github.com/bramus/react-native-maps-directions), or ANYTHING dependant on google-maps-ios-utils
  2. Using an Apple Silicone Mac try and build and compile the app
  3. Watch lack of compatibility with Apple Silicone prevent build

Code example

# example
SwiftCompile normal x86_64 Compiling\ CatesianPoint.swift /Users/user/apps/app_folder/ios/Pods/Google-Maps-iOS-Utils/src/GeometryUtils/Internal/CatesianPoint.swift (in target 'Google-Maps-iOS-Utils' from project 'Pods')

Todate Google and its developers are completely ignoring this critical problem.

All are marked as "solved" yet building and compile on a Mac is still not possible. There is still no Apple Silicone support from Google. When if ever will this work?

Is this Google's way of saying Google Maps is to be considered EOL and a tool that is no longer maintained for the industry? It is not like we are talking about FREE stuff here given these are charged to use APIs.

This was pod install last night, so still broken as of 03/18/2024.

It has been over 2 years, we need to know, is Google going to fix this? Or is Google Maps is not a liability to App maintainability?

wangela commented 6 months ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@russmenum Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

wangela commented 1 month ago

v5.0.0 was released for SPM yesterday and CocoaPods today. v6.0.0 was released for both SPM and CocoaPods today. See the README for installation instructions.

russmenum commented 1 month ago

v5.0.0 was released for SPM yesterday and CocoaPods today. v6.0.0 was released for both SPM and CocoaPods today. See the README for installation instructions.

What is the target requirement? not seeing in the readme...

[!] CocoaPods could not find compatible versions for pod "Google-Maps-iOS-Utils":
  In Podfile:
    Google-Maps-iOS-Utils (= 6.0.0)

None of your spec sources contain a spec satisfying the dependency: `Google-Maps-iOS-Utils (= 6.0.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

ran pod repo update

then

[!] CocoaPods could not find compatible versions for pod "Google-Maps-iOS-Utils":
  In Podfile:
    Google-Maps-iOS-Utils (= 6.0.0)

Specs satisfying the `Google-Maps-iOS-Utils (= 6.0.0)` dependency were found, but they required a higher minimum deployment target.

podfile

platform :ios, podfile_properties['ios.deploymentTarget'] || '13.4'

For context, this is a bear workflow EXPO SDK 50 RN App.