Skip to content

Commit 51f8e0d

Browse files
iHackSubhodiptalipbokegooglemaps-botkikosowangela
authored
chore: update main-swift branch from main branch (#522)
* feat(map): allow custom iconView on GMSMarker subclasses (#506) Previously, when subclassing GMSMarker with a custom iconView, the iconView would not display on the map. This update enables custom iconViews to render correctly when using GMSMarker subclasses. * chore(main): release 6.1.0 (#507) * chore(main): release 6.1.0 * chore(release-please--branches--main): Patch to release branch 6.1.0 (#509) --------- Co-authored-by: Subhodip Banerjee <[email protected]> * chore: fixed broken URLs (#515) * chore: update release-please-config.json (#517) Formatting based on https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#configfile * chore: update Simulator and iPhone version in `build.yml` file. * chore: update simulator and iphone version * chore: update xcode version. * chore: Revert OS version. * chore: Update iOS & iPhone Version, revert Xcode version. * chore: Remove use of third party setup-xcode --------- Co-authored-by: Talip BÖKE <[email protected]> Co-authored-by: googlemaps-bot <[email protected]> Co-authored-by: Enrique López Mañas <[email protected]> Co-authored-by: Angela Yu <[email protected]>
1 parent 2891ad4 commit 51f8e0d

9 files changed

+27
-28
lines changed

.github/workflows/build.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,18 @@ jobs:
3838
- name: Checkout google-maps-ios-utils
3939
uses: actions/checkout@v4
4040

41-
# Specify the latest stable Xcode version, since the default for macos-latest might not meet SDK minimum Xcode requirements.
42-
- name: Set Xcode version
43-
uses: maxim-lobanov/setup-xcode@v1
44-
with:
45-
xcode-version: latest-stable
46-
4741
# For as long as this is a mixed-language library, swift build will not support the Obj-C part of the code so we must use xcodebuild.
4842
- name: Build and analyze Swift Package with xcodebuild
4943
run: |
5044
xcodebuild clean build analyze \
5145
-scheme GoogleMapsUtils -configuration Debug \
52-
-destination "platform=iOS Simulator,OS=17.4,name=iPhone 15" \
46+
-destination "platform=iOS Simulator,OS=18.1,name=iPhone 16" \
5347
-disableAutomaticPackageResolution | xcpretty
5448
5549
- name: Run unit tests on Swift Package
5650
run: |
5751
xcodebuild test -scheme GoogleMapsUtils \
58-
-destination "platform=iOS Simulator,OS=17.4,name=iPhone 15" \
52+
-destination "platform=iOS Simulator,OS=18.1,name=iPhone 16" \
5953
-disableAutomaticPackageResolution
6054
6155
- name: Upload test results to CodeCov
@@ -103,7 +97,7 @@ jobs:
10397
run: |
10498
xcodebuild -workspace samples/SwiftDemoApp/SwiftDemoApp.xcworkspace \
10599
-scheme SwiftDemoApp -configuration Debug \
106-
-destination "platform=iOS Simulator,OS=17.4,name=iPhone 15" build | xcpretty
100+
-destination "platform=iOS Simulator,OS=18.1,name=iPhone 16" build | xcpretty
107101
108102
build_objc_sample:
109103
name: Build Objective-C Sample App with CocoaPods locally
@@ -124,7 +118,7 @@ jobs:
124118
run: |
125119
xcodebuild -workspace samples/ObjCDemoApp/ObjCDemoApp.xcworkspace \
126120
-scheme ObjCDemoApp -configuration Debug \
127-
-destination "platform=iOS Simulator,OS=17.4,name=iPhone 15" build | xcpretty
121+
-destination "platform=iOS Simulator,OS=18.1,name=iPhone 16" build | xcpretty
128122
129123
test: # used as required status check
130124
runs-on: ubuntu-latest

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.0.0"
2+
".": "6.1.0"
33
}

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [6.1.0](https://github.com/googlemaps/google-maps-ios-utils/compare/v6.0.0...v6.1.0) (2024-11-07)
4+
5+
6+
### Features
7+
8+
* **map:** allow custom iconView on GMSMarker subclasses ([#506](https://github.com/googlemaps/google-maps-ios-utils/issues/506)) ([125dfe5](https://github.com/googlemaps/google-maps-ios-utils/commit/125dfe516b0ad4497889da1ec3b6e02a38174ae9))
9+
310
## [6.0.0](https://github.com/googlemaps/google-maps-ios-utils/compare/v5.0.0...v6.0.0) (2024-07-31)
411

512

Google-Maps-iOS-Utils.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Pod::Spec.new do |s|
44

55
s.name = "Google-Maps-iOS-Utils"
6-
s.version = "6.0.0" # x-release-please-version
6+
s.version = "6.1.0" # x-release-please-version
77
s.summary = "A utilities library for use with Google Maps SDK for iOS."
88
s.description = "
99
This library contains classes that are useful for a wide range of applications

Podfile.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ platform :ios, '15.0'
55
target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
66
use_frameworks!
77
pod 'GoogleMaps', '9.0.0'
8-
pod 'Google-Maps-iOS-Utils', '6.0.0' # x-release-please-version
8+
pod 'Google-Maps-iOS-Utils', '6.1.0' # x-release-please-version
99
end
1010
# [END maps_ios_utils_podfile_template]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ range of applications using the [Google Maps SDK for iOS][sdk].
7070

7171
target 'TARGET_NAME' do
7272
pod 'GoogleMaps', '9.0.0'
73-
pod 'Google-Maps-iOS-Utils', '6.0.0'
73+
pod 'Google-Maps-iOS-Utils', '6.1.0' # x-release-please-version
7474
end
7575
```
7676

Sources/GoogleMapsUtilsObjC/include/GMUDefaultClusterRenderer.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ - (void)renderCluster:(id<GMUCluster>)cluster animated:(BOOL)animated {
284284
} else {
285285
for (id<GMUClusterItem> item in cluster.items) {
286286
GMSMarker *marker;
287-
if ([item class] == [GMSMarker class]) {
287+
if ([item isKindOfClass:[GMSMarker class]]) {
288288
marker = (GMSMarker<GMUClusterItem> *)item;
289289
marker.map = _mapView;
290290
} else {

docs/GeometryUtils.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Geometry Utilities
44
The utility library contains Swift-friendly extensions of the [GMSGeometryUtils](https://developers.google.com/maps/documentation/ios-sdk/reference/group___geometry_utils) module of the Maps SDK for iOS. Rather than using C-Style functions in `GMSGeometryUtils`, you can use the Swift classes and extensions defined in this library.
55

66
See:
7-
* [MapPoint](https://github.com/googlemaps/google-maps-ios-utils/blob/main/src/GeometryUtils/MapPoint.swift)
8-
* [CLLocationCoordinate2D+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/src/GeometryUtils/CLLocationCoordinate2D%2BGeometryUtils.swift)
9-
* [GMSPath+GeometryUtils.swfit](https://github.com/googlemaps/google-maps-ios-utils/blob/main/src/GeometryUtils/GMSPath%2BGeometryUtils.swift)
10-
* [GMSPolygon+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/src/GeometryUtils/GMSPolygon%2BGeometryUtils.swift)
11-
* [GMSPolyline+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/src/GeometryUtils/GMSPolyline%2BGeometryUtils.swift)
7+
* [MapPoint](https://github.com/googlemaps/google-maps-ios-utils/blob/main/Sources/GoogleMapsUtils/GeometryUtils/MapPoint.swift)
8+
* [CLLocationCoordinate2D+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/Sources/GoogleMapsUtils/GeometryUtils/CLLocationCoordinate2D%2BGeometryUtils.swift)
9+
* [GMSPath+GeometryUtils.swfit](https://github.com/googlemaps/google-maps-ios-utils/blob/main/Sources/GoogleMapsUtils/GeometryUtils/GMSPath%2BGeometryUtils.swift)
10+
* [GMSPolygon+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/Sources/GoogleMapsUtils/GeometryUtils/GMSPolygon%2BGeometryUtils.swift)
11+
* [GMSPolyline+GeometryUtils.swift](https://github.com/googlemaps/google-maps-ios-utils/blob/main/Sources/GoogleMapsUtils/GeometryUtils/GMSPolyline%2BGeometryUtils.swift)

release-please-config.json

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "simple",
4+
"include-component-in-tag": false,
5+
"bump-minor-pre-major": false,
6+
"bump-patch-for-minor-pre-major": false,
27
"packages": {
38
".": {
49
"bootstrap-sha": "b56b39cec0e3d5938ddadbfeb4d3fec541ebbb5e",
510
"changelog-path": "CHANGELOG.md",
6-
"release-type": "simple",
7-
"include-component-in-tag": false,
8-
"bump-minor-pre-major": false,
9-
"bump-patch-for-minor-pre-major": false,
10-
"draft": false,
11-
"prerelease": false,
1211
"extra-files": [
1312
"Google-Maps-iOS-Utils.podspec",
1413
"Podfile.template"
1514
]
1615
}
17-
},
18-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
16+
}
1917
}

0 commit comments

Comments
 (0)