Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3501f47

Browse files
fabian-guerranagineniJulian Rex
authored
Cherry pick 458 into release-z (#460)
* Support Xcode 12 by excluding arm64 simulators and bumping Telemetry to 0.10.4 (#458) * [test] Test build fix with MME 0.10.3 with Xcode 12 * Prep for telemetry 0.10.4 [skip ci] * Some additional tweaks. [skip ci] * Add Excluded archs * Update telemetry to 0.10.4 * Remove change log entries introduced from gl-native 5.0.0 * Bump build number * Cleaned up change log * Re-add constrain mode. Co-authored-by: Julian Rex <julian.rex@mapbox.com> * Trigger build Co-authored-by: Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> Co-authored-by: Julian Rex <julian.rex@mapbox.com>
1 parent 0d30497 commit 3501f47

File tree

19 files changed

+46
-55
lines changed

19 files changed

+46
-55
lines changed

Cartfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-maps-gl-core/mapbox-ios-sdk-gl-core-static.json" == 5.0.1
2-
github "mapbox/mapbox-events-ios" ~> 0.10.2
1+
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-maps-gl-core/mapbox-ios-sdk-gl-core-static.json" == 4.0.0
2+
github "mapbox/mapbox-events-ios" ~> 0.10.4

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-maps-gl-core/mapbox-ios-sdk-gl-core-static.json" "5.0.1"
2-
github "mapbox/mapbox-events-ios" "v0.10.3"
1+
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-maps-gl-core/mapbox-ios-sdk-gl-core-static.json" "4.0.0"
2+
github "mapbox/mapbox-events-ios" "v0.10.4"

Makefile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export TARGET_BRANCH ?= master
44

55
CMAKE ?= cmake
66

7-
87
ifeq ($(BUILDTYPE), Release)
98
else ifeq ($(BUILDTYPE), RelWithDebInfo)
109
else ifeq ($(BUILDTYPE), Sanitize)
@@ -142,13 +141,9 @@ ifneq ($(SKIP_TESTING),)
142141
IOS_XCODEBUILD_SIM += -skip-testing:$(SKIP_TESTING)
143142
endif
144143

145-
ifeq ($(BETA),true)
146-
IOS_XCODEBUILD_SIM += -xcconfig xcode-beta-3-build-fix.xcconfig
147-
else
148144
ifneq ($(CI),)
149145
IOS_XCODEBUILD_SIM += -xcconfig platform/darwin/ci.xcconfig
150146
endif
151-
endif
152147

153148
$(IOS_OUTPUT_PATH):
154149
mkdir -p $@
@@ -157,12 +152,7 @@ $(NETRC_FILE):
157152
@echo "$$NETRC" > $(NETRC_FILE)
158153

159154
$(CARTHAGE_DEPS): $(NETRC_FILE) | $(IOS_OUTPUT_PATH)
160-
ifeq ($(BETA),true)
161-
@echo "Beta Xcode - applying Carthage workaround"
162-
XCODE_XCCONFIG_FILE=$(CURDIR)/xcode-beta-3-build-fix.xcconfig carthage bootstrap --platform iOS --use-netrc
163-
else
164155
carthage bootstrap --platform iOS --use-netrc
165-
endif
166156
@echo "Finishing bootstrapping"
167157

168158
$(IOS_USER_DATA_PATH)/WorkspaceSettings.xcsettings: platform/ios/WorkspaceSettings.xcsettings
@@ -333,5 +323,8 @@ clean:
333323

334324
.PHONY: distclean
335325
distclean: clean
336-
-rm -rf ./mason_packages
326+
-rm Cartfile.resolved
327+
-rm -rf Carthage \
328+
~/Library/Caches/carthage \
329+
~/Library/Caches/org.carthage.kit
337330
-rm -rf ./node_modules

platform/ios/CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@
22

33
Mapbox welcomes participation and contributions from everyone. Please read [CONTRIBUTING.md](../../CONTRIBUTING.md) to get started.
44

5-
## 6.2.0
5+
## 6.2.0 - September 17, 2020
66

77
**This release supports iOS 14 and Xcode 12**
8+
For building with Xcode 12, please ensure that mapbox-events-ios is at version 0.10.4 or higher. Please see our [dependency instructions](https://docs.mapbox.com/ios/maps/overview/#add-the-dependency) for more details. This version does not support Apple Silicon Macs (arm64).
89

910
### ✨ New features
1011

1112
* Added `MGLLocationManager.accuracyAuthorization` to check the level of accuracy the app is allowed to support. ([#361](https://github.com/mapbox/mapbox-gl-native-ios/pull/361))
12-
* Added `[MGLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKeyproperty:]` to allow developers request just-in-time full-accuracy permissions. ([#361](https://github.com/mapbox/mapbox-gl-native-ios/pull/361))
13+
* Added `[MGLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKey:]` to allow developers request just-in-time full-accuracy permissions. ([#361](https://github.com/mapbox/mapbox-gl-native-ios/pull/361))
1314
* Added `[MGLLocationManagerDelegate locationManagerDidChangeAuthorization:]` to let `MGLMapView` know about privacy changes. ([#376](https://github.com/mapbox/mapbox-gl-native-ios/pull/376))
1415
* Added `[MGLMapViewDelegate mapView:didChangeLocationManagerAuthorization:]` to allow developers adjust their apps to privacy settings changes. ([#376](https://github.com/mapbox/mapbox-gl-native-ios/pull/376))
1516
* Added an approximate user location halo when `MGLLocationManager.accuracyAuthorization` is set to `CLAccuracyAuthorizationReducedAccuracy`. ([#381](https://github.com/mapbox/mapbox-gl-native-ios/pull/381))
1617
* The `MGLAccuracyAuthorizationDescription` as element of `NSLocationTemporaryUsageDescriptionDictionary` Info.plist key can now be set to describe why you request accuracy authorization. ([#392](https://github.com/mapbox/mapbox-gl-native-ios/pull/392))
1718
* Added `[MGLMapViewDelegate mapViewStyleForDefaultUserLocationAnnotationView:]` and `MGLUserLocationAnnotationViewStyle` class to allow developers customize the default user location annotation view UI style. ([#403](https://github.com/mapbox/mapbox-gl-native-ios/pull/403))
1819
* Added `MGLNetworkConfiguration.connected` property to enforce `MGLMapView` to use cached tiles. ([#416](https://github.com/mapbox/mapbox-gl-native-ios/pull/416))
19-
* Enabled local glyph rasterization for all writing systems. The new feature uses real glyph metrics and improves rendering quality for mixed (Latin / CJKV) labels. (#561)
20-
* Minimum and Maximum allowed values are now considered for style layer properties, as defined by the specification. Tf a style property is assigned with a value outside the allowed range, the property gets assigned with its default value instead. (#647)
21-
* Fixed an issue that caused ornaments to consider safe areas when `MGLMapView.automaticallyAdjustsContentInset` is set to `NO`. ([#420](https://github.com/mapbox/mapbox-gl-native-ios/pull/420))
2220

2321
### 🐞 Bug fixes
2422

25-
* Fixed an issue where the map would hang periodically (on iOS 14 beta). ([#411](https://github.com/mapbox/mapbox-gl-native-ios/pull/411))
26-
* Fixed a sporadic crash when the application "resigns active", for example, when showing Control Center. ([#412](https://github.com/mapbox/mapbox-gl-native-ios/pull/412))
23+
* Fixed an issue where the map would hang periodically (on iOS 14). ([#411](https://github.com/mapbox/mapbox-gl-native-ios/pull/411))
24+
* Fixed a sporadic crash when the application "resigns active", for example, when showing Control Center. ([#412](https://github.com/mapbox/mapbox-gl-native-ios/pull/412))
25+
* Fixed an issue that caused ornaments to consider safe areas when `MGLMapView.automaticallyAdjustsContentInset` is set to `NO`. ([#420](https://github.com/mapbox/mapbox-gl-native-ios/pull/420))
26+
* Fixed an issue that caused rendering crashes when entering the background. ([#432](https://github.com/mapbox/mapbox-gl-native-ios/pull/432))
2727

2828
### 🔧 Dependencies
2929

30-
* Core library updated to `5.0.1`. ([#438](https://github.com/mapbox/mapbox-gl-native-ios/pull/453))
31-
* `mapbox-events-ios` versioning updated to `~> 0.10.2`.
30+
* Supported Xcode 12 by updating `mapbox-events-ios` to `~> 0.10.4`.([#458](https://github.com/mapbox/mapbox-gl-native-ios/pull/458))
31+
* Core library updated to `4.0.0`. ([#458](https://github.com/mapbox/mapbox-gl-native-ios/pull/458))
3232

3333
## 6.1.0 - August 26, 2020
3434

platform/ios/Integration Test Harness/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>6.2.0</string>
2121
<key>CFBundleVersion</key>
22-
<string>15269</string>
22+
<string>15270</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UILaunchStoryboardName</key>

platform/ios/Integration Tests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
<key>CFBundleShortVersionString</key>
1818
<string>6.2.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>15269</string>
20+
<string>15270</string>
2121
</dict>
2222
</plist>

platform/ios/Mapbox-iOS-SDK-snapshot-dynamic.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Pod::Spec.new do |m|
2929

3030
m.preserve_path = '**/*.bcsymbolmap'
3131

32-
m.dependency "MapboxMobileEvents", "~> 0.10.2"
32+
m.dependency "MapboxMobileEvents", "~> 0.10.4"
3333

3434
end

platform/ios/Mapbox-iOS-SDK-stripped.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Pod::Spec.new do |m|
2929

3030
m.preserve_path = '**/*.bcsymbolmap'
3131

32-
m.dependency "MapboxMobileEvents", "~> 0.10.2"
32+
m.dependency "MapboxMobileEvents", "~> 0.10.4"
3333

3434
end

platform/ios/Mapbox-iOS-SDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Pod::Spec.new do |m|
2929

3030
m.preserve_path = '**/*.bcsymbolmap'
3131

32-
m.dependency "MapboxMobileEvents", "~> 0.10.2"
32+
m.dependency "MapboxMobileEvents", "~> 0.10.4"
3333
end

platform/ios/app/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundleSignature</key>
2222
<string>MBGL</string>
2323
<key>CFBundleVersion</key>
24-
<string>15269</string>
24+
<string>15270</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSLocationTemporaryUsageDescriptionDictionary</key>

0 commit comments

Comments
 (0)