Skip to content

Commit 824b92a

Browse files
authored
Merge pull request #82 from vincentneo/xc12
Changes for Xcode 12
2 parents 8fe97cb + be78577 commit 824b92a

File tree

9 files changed

+36
-37
lines changed

9 files changed

+36
-37
lines changed

Classes/GPXRoot.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public final class GPXRoot: GPXElement, Codable {
4444
// MARK: GPX v1.1 Namespaces
4545

4646
/// Link to the GPX v1.1 schema
47-
private let schema = "http://www.topografix.com/GPX/1/1"
47+
private var schema = "http://www.topografix.com/GPX/1/1"
4848
/// Link to the schema locations. If extended, the extended schema should be added.
4949
private var schemaLocation = "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
5050
/// Link to XML schema instance
51-
private let xsi = "http://www.w3.org/2001/XMLSchema-instance"
51+
private var xsi = "http://www.w3.org/2001/XMLSchema-instance"
5252
/// For if GPX file is extended, and contains extra attributes on gpx main tag.
5353
private var extensionAttributes: [String : String]?
5454

Example/CoreGPX.xcodeproj/project.pbxproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
isa = PBXProject;
224224
attributes = {
225225
LastSwiftUpdateCheck = 0830;
226-
LastUpgradeCheck = 1020;
226+
LastUpgradeCheck = 1200;
227227
ORGANIZATIONNAME = Vincent;
228228
TargetAttributes = {
229229
607FACCF1AFB9204008FA782 = {
@@ -410,6 +410,7 @@
410410
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
411411
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
412412
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
413+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
413414
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
414415
CLANG_WARN_STRICT_PROTOTYPES = YES;
415416
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -435,7 +436,7 @@
435436
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
436437
GCC_WARN_UNUSED_FUNCTION = YES;
437438
GCC_WARN_UNUSED_VARIABLE = YES;
438-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
439+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
439440
MTL_ENABLE_DEBUG_INFO = YES;
440441
ONLY_ACTIVE_ARCH = YES;
441442
SDKROOT = iphoneos;
@@ -466,6 +467,7 @@
466467
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
467468
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
468469
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
470+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
469471
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
470472
CLANG_WARN_STRICT_PROTOTYPES = YES;
471473
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -484,7 +486,7 @@
484486
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
485487
GCC_WARN_UNUSED_FUNCTION = YES;
486488
GCC_WARN_UNUSED_VARIABLE = YES;
487-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
489+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
488490
MTL_ENABLE_DEBUG_INFO = NO;
489491
SDKROOT = iphoneos;
490492
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";

Example/CoreGPX.xcodeproj/xcshareddata/xcschemes/CoreGPX Tests.xcscheme

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -23,8 +23,6 @@
2323
</BuildableReference>
2424
</TestableReference>
2525
</Testables>
26-
<AdditionalOptions>
27-
</AdditionalOptions>
2826
</TestAction>
2927
<LaunchAction
3028
buildConfiguration = "Debug"
@@ -36,8 +34,6 @@
3634
debugDocumentVersioning = "YES"
3735
debugServiceExtension = "internal"
3836
allowLocationSimulation = "YES">
39-
<AdditionalOptions>
40-
</AdditionalOptions>
4137
</LaunchAction>
4238
<ProfileAction
4339
buildConfiguration = "Release"

Example/CoreGPX.xcodeproj/xcshareddata/xcschemes/CoreGPX-Example.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 = "1020"
3+
LastUpgradeVersion = "1200"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 14 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/CoreGPX-macOS.xcscheme

Lines changed: 10 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/CoreGPX-watchOS.xcscheme

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/CoreGPX.xcscheme

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/CoreGPX/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)