Skip to content
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

feat!: Bump minimum to iOS 14 #444

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

feat!: Bump minimum to iOS 14 #444

wants to merge 28 commits into from

Conversation

wangela
Copy link
Member

@wangela wangela commented Jun 3, 2023

Raise minimum supported OS to iOS 14 to match Maps SDK for iOS 8.0.0

Fixes #456, #458, #459

@wangela wangela requested a review from a team as a code owner June 3, 2023 02:27
@wangela wangela requested a review from mpegg21 June 3, 2023 02:27
@wangela wangela requested review from amuramoto and removed request for mpegg21 June 3, 2023 02:27
Copy link

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't you also update the GoogleMaps dependency version in the podspec to 8.0.0?https://github.com/googlemaps/google-maps-ios-utils/blob/main/Google-Maps-iOS-Utils.podspec#L24
And shouldn't you bump the iOS version in the podspec too?

https://github.com/googlemaps/google-maps-ios-utils/blob/main/Google-Maps-iOS-Utils.podspec#L17

samples/ObjCDemoApp/Podfile Outdated Show resolved Hide resolved
samples/SwiftDemoApp/Podfile Outdated Show resolved Hide resolved
@wangela wangela removed the request for review from amuramoto February 29, 2024 22:05
@wangela wangela assigned wangela and unassigned amuramoto Feb 29, 2024
@zachgibson
Copy link

Any chance this gets merged soon? Running into some bugs that version 8 fixes.

@403access
Copy link

@wangela is there any reason not to merge this? you need help? This blocks #451

Copy link

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some comments

@@ -34,11 +34,11 @@ jobs:
run: sudo gem install cocoapods

- name: CocoaPods spec lint
run: pod lib lint Google-Maps-iOS-Utils.podspec
run: pod spec lint Google-Maps-iOS-Utils.podspec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be changed, lib lint validates the local sources, spec lint validates a published tag, since this changes are not published you can't properly test

@@ -21,24 +21,18 @@ on:
workflow_dispatch:
jobs:
release:
runs-on: macos-11
runs-on: macos-12

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runs-on: macos-12
runs-on: macos-14

you can use macos-14 as it's the M1 macs that are faster on building/testing

steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

- name: Use Xcode 14.2
run: sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer
run: sudo xcode-select -s /Applications/Xcode_14.2.app

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xcode 15 is a requirement for publishing apps since last week, I think you should test there instead of 14.2

- name: Install Dependencies
run: sudo gem install cocoapods

- name: CocoaPods spec lint
run: pod lib lint Google-Maps-iOS-Utils.podspec
run: pod spec lint Google-Maps-iOS-Utils.podspec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as the previous comment, should not be changed, lib lint should be used

@@ -52,18 +53,27 @@ pod install

### [Swift Package Manager](https://github.com/apple/swift-package-manager)

**Note**: This feature is only available with Swift 5.3 (Xcode 12) or later.
> [!NOTE]
> This feature is only available with Swift 5.3 (Xcode 12) or later.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the note is required nowadays, Xcode 15 is required for publishing apps on the App Store

of the Maps SDK for iOS Utility Library that you want to use. For new projects, we recommend specifying the latest version and using the "Exact Version" option.

4. Follow the
[instructions](https://developers.google.com/maps/documentation/ios-sdk/config#get-key) to add your API key to your app.

### [Carthage](https://github.com/Carthage/Carthage)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section can be removed or add a note about not being supported anymore

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.

4.2.2 does not allow updating to latest GoogleMaps (8.x)
6 participants