Skip to content

Commit cb70e59

Browse files
authored
Remove iOS 11 support. (#220)
1 parent 76518b3 commit cb70e59

11 files changed

+38
-32
lines changed

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- *publish-codecov
9292
- run:
9393
name: tvOS
94-
command: xcodebuild -project MapboxGeocoder.xcodeproj -scheme 'MapboxGeocoder tvOS' -destination 'platform=tvOS Simulator,name=Apple TV 4K (at 1080p),OS=<< parameters.tvOS >>' clean build <<# parameters.test >>test <</ parameters.test >> <<# parameters.codecoverage >>-enableCodeCoverage YES<</ parameters.codecoverage >>
94+
command: xcodebuild -project MapboxGeocoder.xcodeproj -scheme 'MapboxGeocoder tvOS' -destination 'platform=tvOS Simulator,name=Apple TV 4K (at 1080p) (2nd generation),OS=<< parameters.tvOS >>' clean build <<# parameters.test >>test <</ parameters.test >> <<# parameters.codecoverage >>-enableCodeCoverage YES<</ parameters.codecoverage >>
9595
- when:
9696
condition: << parameters.codecoverage >>
9797
steps:
@@ -107,12 +107,12 @@ workflows:
107107
workflow:
108108
jobs:
109109
- build-job:
110-
name: "Xcode_12.0"
111-
xcode: "12.0.0"
112-
iOS: "14.0"
113-
tvOS: "14.0"
114-
watchOS: "7.0"
110+
name: "Xcode_12.5.1"
111+
xcode: "12.5.1"
112+
iOS: "14.5"
113+
tvOS: "14.5"
114+
watchOS: "7.4"
115115
codecoverage: false
116116
- SPM-job:
117117
name: "SPM"
118-
xcode: "12.2.0"
118+
xcode: "12.5.1"

MapboxGeocoder.swift.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Pod::Spec.new do |s|
2424
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
2525

2626
# When using multiple platforms
27-
s.ios.deployment_target = "10.0"
28-
s.osx.deployment_target = "10.12"
29-
s.watchos.deployment_target = "3.0"
30-
s.tvos.deployment_target = "10.0"
27+
s.ios.deployment_target = "12.0"
28+
s.osx.deployment_target = "10.14"
29+
s.watchos.deployment_target = "5.0"
30+
s.tvos.deployment_target = "12.0"
3131

3232
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
3333

MapboxGeocoder.xcodeproj/project.pbxproj

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -719,7 +719,7 @@
719719
attributes = {
720720
LastSwiftMigration = 0700;
721721
LastSwiftUpdateCheck = 0730;
722-
LastUpgradeCheck = 1340;
722+
LastUpgradeCheck = 1400;
723723
ORGANIZATIONNAME = Mapbox;
724724
TargetAttributes = {
725725
DA5170951CF1B18F00CD6DCF = {
@@ -908,6 +908,7 @@
908908
/* Begin PBXShellScriptBuildPhase section */
909909
DA737AF11E599A2300AD2CDE /* Copy Frameworks */ = {
910910
isa = PBXShellScriptBuildPhase;
911+
alwaysOutOfDate = 1;
911912
buildActionMask = 2147483647;
912913
files = (
913914
);
@@ -924,6 +925,7 @@
924925
};
925926
DA737AF71E599ABF00AD2CDE /* Copy Frameworks */ = {
926927
isa = PBXShellScriptBuildPhase;
928+
alwaysOutOfDate = 1;
927929
buildActionMask = 2147483647;
928930
files = (
929931
);
@@ -1101,6 +1103,7 @@
11011103
CODE_SIGN_IDENTITY = "";
11021104
COMBINE_HIDPI_IMAGES = YES;
11031105
CURRENT_PROJECT_VERSION = 19;
1106+
DEAD_CODE_STRIPPING = YES;
11041107
DEBUG_INFORMATION_FORMAT = dwarf;
11051108
DEFINES_MODULE = YES;
11061109
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -1132,6 +1135,7 @@
11321135
COMBINE_HIDPI_IMAGES = YES;
11331136
COPY_PHASE_STRIP = NO;
11341137
CURRENT_PROJECT_VERSION = 19;
1138+
DEAD_CODE_STRIPPING = YES;
11351139
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
11361140
DEFINES_MODULE = YES;
11371141
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -1164,6 +1168,7 @@
11641168
CLANG_ENABLE_MODULES = YES;
11651169
CODE_SIGN_IDENTITY = "-";
11661170
COMBINE_HIDPI_IMAGES = YES;
1171+
DEAD_CODE_STRIPPING = YES;
11671172
DEBUG_INFORMATION_FORMAT = dwarf;
11681173
GCC_NO_COMMON_BLOCKS = YES;
11691174
INFOPLIST_FILE = Tests/MapboxGeocoderTests/Info.plist;
@@ -1188,6 +1193,7 @@
11881193
CODE_SIGN_IDENTITY = "-";
11891194
COMBINE_HIDPI_IMAGES = YES;
11901195
COPY_PHASE_STRIP = NO;
1196+
DEAD_CODE_STRIPPING = YES;
11911197
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
11921198
GCC_NO_COMMON_BLOCKS = YES;
11931199
INFOPLIST_FILE = Tests/MapboxGeocoderTests/Info.plist;
@@ -1422,8 +1428,8 @@
14221428
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
14231429
GCC_WARN_UNUSED_FUNCTION = YES;
14241430
GCC_WARN_UNUSED_VARIABLE = YES;
1425-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1426-
MACOSX_DEPLOYMENT_TARGET = 10.12;
1431+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1432+
MACOSX_DEPLOYMENT_TARGET = 10.14;
14271433
MTL_ENABLE_DEBUG_INFO = YES;
14281434
ONLY_ACTIVE_ARCH = YES;
14291435
SDKROOT = iphoneos;
@@ -1432,7 +1438,7 @@
14321438
SWIFT_VERSION = 5.0;
14331439
TARGETED_DEVICE_FAMILY = "1,2";
14341440
TVOS_DEPLOYMENT_TARGET = 12.0;
1435-
WATCHOS_DEPLOYMENT_TARGET = 3.0;
1441+
WATCHOS_DEPLOYMENT_TARGET = 5.0;
14361442
};
14371443
name = Debug;
14381444
};
@@ -1478,8 +1484,8 @@
14781484
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
14791485
GCC_WARN_UNUSED_FUNCTION = YES;
14801486
GCC_WARN_UNUSED_VARIABLE = YES;
1481-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1482-
MACOSX_DEPLOYMENT_TARGET = 10.12;
1487+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1488+
MACOSX_DEPLOYMENT_TARGET = 10.14;
14831489
MTL_ENABLE_DEBUG_INFO = NO;
14841490
SDKROOT = iphoneos;
14851491
SWIFT_COMPILATION_MODE = wholemodule;
@@ -1489,7 +1495,7 @@
14891495
TARGETED_DEVICE_FAMILY = "1,2";
14901496
TVOS_DEPLOYMENT_TARGET = 12.0;
14911497
VALIDATE_PRODUCT = YES;
1492-
WATCHOS_DEPLOYMENT_TARGET = 3.0;
1498+
WATCHOS_DEPLOYMENT_TARGET = 5.0;
14931499
};
14941500
name = Release;
14951501
};

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/Example (Objective-C).xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/Example (Swift).xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/MapboxGeocoder Mac.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/MapboxGeocoder iOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/MapboxGeocoder tvOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

MapboxGeocoder.xcodeproj/xcshareddata/xcschemes/MapboxGeocoder watchOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1340"
3+
LastUpgradeVersion = "1400"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "MapboxGeocoder",
88
platforms: [
9-
.macOS(.v10_12), .iOS(.v10), .watchOS(.v3), .tvOS(.v12)
9+
.macOS(.v10_14), .iOS(.v12), .watchOS(.v5), .tvOS(.v12)
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.

0 commit comments

Comments
 (0)