chore(ios): update Google Maps SDK versions for SPM - #175
Conversation
| .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "9.0.0-alpha.5"), | ||
| .package(url: "https://github.com/googlemaps/ios-maps-sdk.git", .upToNextMajor(from:"9.4.0")), | ||
| .package(url: "https://github.com/googlemaps/google-maps-ios-utils.git", .exact("6.1.0")) | ||
| .package(url: "https://github.com/googlemaps/ios-maps-sdk.git", .upToNextMajor(from:"10.15.0")), |
There was a problem hiding this comment.
I saw there was a 11.0.0 release yesterday https://github.com/googlemaps/ios-maps-sdk/releases/tag/11.0.0, wondering if we should update now while we're at it.
But https://github.com/googlemaps/google-maps-ios-utils/releases/tag/v7.0.0 says it's using version 10 of SDK still, and the commit for 11.0.0 mentions release candidate, so not so sure if we should update 😅
What do you think?
There was a problem hiding this comment.
I'd hold off on 11 for now. GoogleMapsUtils 7.1.0 declares from: "10.0.0" on the Maps SDK, which SPM resolves as < 11.0.0, so bumping to 11 would conflict with utils.
There was a problem hiding this comment.
Tested on SPM app, had to update example app dependencies and re-sync because of a crash that's fixed in 9.0.0-alpha.6, commited that.
Anyway, LGTM, approving!
Partial revert of previous commit 4c09bf3
Description
Updates the Google Maps SDK for iOS dependencies used by SPM installs:
ios-maps-sdk: 9.4.0 to 10.15.0 (.upToNextMajor)google-maps-ios-utils: 6.1.0 to 7.1.0 (.exact)CocoaPods installs intentionally stay on
GoogleMaps ~> 9.4andGoogle-Maps-iOS-Utils 6.1.0. Google no longer publishes the Maps SDK to the CocoaPods Trunk (it stops at 9.4.0), so 10.x is SPM-only and the podspec cannot follow.Also adds a "Google Maps SDK versions" section to the README documenting the version divergence between the two package managers, the dark mode default difference in SDK 10.x, and a warning that CocoaPods support will be removed in Capacitor 10.
Change Type
Notes on the version choices:
Tests or Reproductions
swift package resolveon the plugin resolves ios-maps-sdk 10.15.0 and google-maps-ios-utils 7.1.0.example-app-spm(SPM, Capacitor 9.0.0-alpha.5):xcodebuild clean buildsucceeds, resolving Maps 10.15.0 + Utils 7.1.0.example-app(CocoaPods, Capacitor 9.0.0-alpha.5):pod installstill resolves Maps 9.4.0 + Utils 6.1.0 andxcodebuild clean buildsucceeds, confirming the CocoaPods path is unaffected.Screenshots / Media
N/A
Platforms Affected
Notes / Comments