这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: Update iOS deployment target to 16.0 and GoogleMaps dependency to 10.0 #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

iHackSubhodip
Copy link
Collaborator

Update iOS deployment target to 16.0 and GoogleMaps SDK to 10.0

What

  • Updated iOS minimum deployment target from 15.0 to 16.0 across all project configurations
  • Updated GoogleMaps dependency from ~> 9.0 to ~> 10.0 in podspec
  • Updated sample app projects (ObjCDemoApp and SwiftDemoApp) deployment targets to 16.0
  • Updated Podfile.template to reflect new versions (iOS 16.0, GoogleMaps 10.0.0)

Why

This PR addresses the GoogleMaps SDK version compatibility raised in #545 where the community requested updating the GoogleMaps SDK dependency to v10.0.0.

Issues Resolved:

  1. Version Conflict: GoogleMaps 10.0.0 requires iOS 16.0 minimum, but the project was configured for iOS 15.0, causing CocoaPods installation failures with the error:

    "The package product 'GoogleMaps' requires minimum platform version 16.0 for the iOS platform, but this target supports 15.0"
    
  2. Dependency Mismatch: The Package.swift was already using GoogleMaps 10.0.0, but the podspec was still referencing ~> 9.0, creating inconsistency between Swift Package Manager and CocoaPods configurations

  3. Sample App Compatibility: Demo applications had mixed deployment targets (14.0, 15.0) that were incompatible with the new GoogleMaps SDK requirements

Files Changed

  • Google-Maps-iOS-Utils.podspec - Updated iOS platform and GoogleMaps dependency
  • Podfile.template - Updated iOS platform and GoogleMaps version
  • samples/ObjCDemoApp/ObjCDemoApp.xcodeproj/project.pbxproj - Updated deployment targets
  • samples/SwiftDemoApp/SwiftDemoApp.xcodeproj/project.pbxproj - Updated deployment targets

Testing

  • Verified pod install runs successfully in sample apps
  • Confirmed all deployment targets are consistently set to 16.0
  • Validated Package.swift and podspec dependency alignment
  • Verified running all the tests
Screenshot 2025-06-17 at 11 59 30 PM

Fixes #545

@iHackSubhodip iHackSubhodip merged commit b564e7a into main Jun 18, 2025
12 checks passed
@iHackSubhodip iHackSubhodip deleted the SB/update-gmaps_v10 branch June 18, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update GoogleMaps SDK version
2 participants