summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-12-20 16:55:30 -0800
committerJason Wray <jason@mapbox.com>2017-12-20 17:36:06 -0800
commit8e69a35d758d4fa632ed153590ae56c976269b76 (patch)
tree8d18b3f210a53286f6b26a5097e793b1393dcb73
parent6a9eec8ed5dee4a4527c25523d4a8b1aee758212 (diff)
downloadqtlocation-mapboxgl-8e69a35d758d4fa632ed153590ae56c976269b76.tar.gz
[ios, build] Stop packaging i386 simulator arch
Only builds and packages x86_64 architecture in our frameworks and dSYM. Removes support for 32-bit simulators, such as the iPhone 5 and iPad 2. This does not affect device support — 32-bit devices are still supported via the arm7 architecture.
-rw-r--r--platform/ios/CHANGELOG.md5
-rw-r--r--platform/ios/INSTALL.md8
-rwxr-xr-xplatform/ios/scripts/metrics.sh2
-rwxr-xr-xplatform/ios/scripts/package.sh2
-rwxr-xr-xplatform/ios/scripts/validate-framework-zip.sh2
-rwxr-xr-xscripts/publish_binary_size.sh1
6 files changed, 12 insertions, 8 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md
index c373eaf177..d5bf98d3f2 100644
--- a/platform/ios/CHANGELOG.md
+++ b/platform/ios/CHANGELOG.md
@@ -2,9 +2,14 @@
Mapbox welcomes participation and contributions from everyone. Please read [CONTRIBUTING.md](../../CONTRIBUTING.md) to get started.
+## 3.7.2
+
+* Removed support for 32-bit simulators. ([#10772](https://github.com/mapbox/mapbox-gl-native/pull/10772))
+
## 3.7.1 - December 6, 2017
### Annotations
+
* Fixed an issue that could cause `-[MGLMapViewDelegate mapView:didSelectAnnotation:]` to be triggered when tapping next to an `MGLAnnotationImage` annotation. ([#10538](https://github.com/mapbox/mapbox-gl-native/pull/10538))
### Packaging
diff --git a/platform/ios/INSTALL.md b/platform/ios/INSTALL.md
index 9a85dfe6fb..9fca318729 100644
--- a/platform/ios/INSTALL.md
+++ b/platform/ios/INSTALL.md
@@ -4,12 +4,14 @@ This document explains how to build a development version of Mapbox Maps SDK for
### Requirements
-The Mapbox Maps SDK for iOS is intended to run on iOS 8.0 and above on the following devices and their simulators:
+The Mapbox Maps SDK for iOS is intended to run on iOS 8.0 and above on the following devices:
-* iPhone 4S and above (5, 5c, 5s, 6, 6 Plus)
-* iPad 2 and above (3, 4, Mini, Air, Mini 2, Air 2)
+* iPhone 4s and above (5, 5c, 5s, 6, 6 Plus, 7, 7 Plus, 8, 8 Plus, X)
+* iPad 2 and above (3, 4, Mini, Air, Mini 2, Air 2, Pro)
* iPod touch 5th generation and above
+Note that 32-bit simulators (such as the iPhone 5 or iPad 2) are not supported.
+
The Mapbox Maps SDK for iOS requires Xcode 8.0 or higher. To use this SDK with Xcode 7.3.1, download and use a symbols build from the [releases](https://github.com/mapbox/mapbox-gl-native/releases) page.
### Building the SDK
diff --git a/platform/ios/scripts/metrics.sh b/platform/ios/scripts/metrics.sh
index c45beb3a11..2a241323c2 100755
--- a/platform/ios/scripts/metrics.sh
+++ b/platform/ios/scripts/metrics.sh
@@ -7,13 +7,11 @@ set -o pipefail
xcrun bitcode_strip build/ios/pkg/dynamic/Mapbox.framework/Mapbox -r -o build/ios/pkg/dynamic/Mapbox-stripped
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract armv7 -output build/ios/pkg/dynamic/Mapbox-stripped-armv7
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract arm64 -output build/ios/pkg/dynamic/Mapbox-stripped-arm64
-lipo build/ios/pkg/dynamic/Mapbox-stripped -extract i386 -output build/ios/pkg/dynamic/Mapbox-stripped-i386
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract x86_64 -output build/ios/pkg/dynamic/Mapbox-stripped-x86_64
# Track individual architectures
scripts/log_binary_size.sh "build/ios/pkg/dynamic/Mapbox-stripped-armv7" "Platform=iOS,Arch=armv7"
scripts/log_binary_size.sh "build/ios/pkg/dynamic/Mapbox-stripped-arm64" "Platform=iOS,Arch=arm64"
-scripts/log_binary_size.sh "build/ios/pkg/dynamic/Mapbox-stripped-i386" "Platform=iOS,Arch=i386"
scripts/log_binary_size.sh "build/ios/pkg/dynamic/Mapbox-stripped-x86_64" "Platform=iOS,Arch=x86_64"
# Track overall library size
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 0acce9a57f..6df1b687b4 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -70,7 +70,7 @@ xcodebuild \
CURRENT_SHORT_VERSION=${SHORT_VERSION} \
CURRENT_SEMANTIC_VERSION=${SEM_VERSION} \
CURRENT_COMMIT_HASH=${HASH} \
- ONLY_ACTIVE_ARCH=NO \
+ ARCHS="x86_64" \
-derivedDataPath ${DERIVED_DATA} \
-workspace ./platform/ios/ios.xcworkspace \
-scheme ${SCHEME} \
diff --git a/platform/ios/scripts/validate-framework-zip.sh b/platform/ios/scripts/validate-framework-zip.sh
index 2cd1e90ee7..0bcd094b69 100755
--- a/platform/ios/scripts/validate-framework-zip.sh
+++ b/platform/ios/scripts/validate-framework-zip.sh
@@ -54,7 +54,7 @@ function verifyFramework() {
# Verify the static lib at least has simulator and the two common ARM architectures
local PRESENT_ARCHITECTURES=$( xcrun lipo -info "${BINARY_PATH}" )
- for arch in "armv7" "arm64" "i386" "x86_64"; do
+ for arch in "armv7" "arm64" "x86_64"; do
if [[ ! $PRESENT_ARCHITECTURES == *$arch* ]]; then
printf "ERROR: Architecture ${arch} not found in ${FRAMEWORK_NAME}\n";
exit 6;
diff --git a/scripts/publish_binary_size.sh b/scripts/publish_binary_size.sh
index e515de7c96..08dfb88287 100755
--- a/scripts/publish_binary_size.sh
+++ b/scripts/publish_binary_size.sh
@@ -56,7 +56,6 @@ else
# Upload all dimensions that we are tracking
publish_binary_size "Platform=iOS,Arch=armv7"
publish_binary_size "Platform=iOS,Arch=arm64"
- publish_binary_size "Platform=iOS,Arch=i386"
publish_binary_size "Platform=iOS,Arch=x86_64"
publish_binary_size "Platform=iOS,Arch=Dynamic"