From baacb701d8cb06092993542f6a06de2e1a04c3de Mon Sep 17 00:00:00 2001 From: Xuan Date: Sat, 10 Oct 2020 10:43:56 +0800 Subject: [PATCH] update to Xcode 12 (#8) * update to Xcode12 --- .travis.yml | 6 +++--- TelloSwift.xcodeproj/project.pbxproj | 4 +++- .../xcshareddata/xcschemes/TelloSwift.xcscheme | 2 +- .../xcschemes/TelloSwiftTests-macOS.xcscheme | 15 +++++++++++++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a03a772..9b0d002 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,11 @@ language: swift xcode_project: TelloSwift.xcodeproj matrix: include: - - osx_image: xcode11.2 + - osx_image: xcode12 env: PLATFORM="iOS" xcode_scheme: TelloSwift - xcode_destination: platform=iOS Simulator,OS=13.2.2,name=iPhone 11 Pro - - osx_image: xcode11.2 + xcode_destination: platform=iOS Simulator,name=iPhone 11 Pro + - osx_image: xcode12 env: PLATFORM="macOS" xcode_scheme: TelloSwiftTests-macOS after_success: diff --git a/TelloSwift.xcodeproj/project.pbxproj b/TelloSwift.xcodeproj/project.pbxproj index 0b49c9a..865704b 100644 --- a/TelloSwift.xcodeproj/project.pbxproj +++ b/TelloSwift.xcodeproj/project.pbxproj @@ -260,7 +260,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1120; - LastUpgradeCheck = 1120; + LastUpgradeCheck = 1200; ORGANIZATIONNAME = "Xuan Liu"; TargetAttributes = { B60C40D22382377D008F1905 = { @@ -457,6 +457,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -520,6 +521,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; diff --git a/TelloSwift.xcodeproj/xcshareddata/xcschemes/TelloSwift.xcscheme b/TelloSwift.xcodeproj/xcshareddata/xcschemes/TelloSwift.xcscheme index 6714ec6..4e97ad7 100644 --- a/TelloSwift.xcodeproj/xcshareddata/xcschemes/TelloSwift.xcscheme +++ b/TelloSwift.xcodeproj/xcshareddata/xcschemes/TelloSwift.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES" + onlyGenerateCoverageForSpecifiedTargets = "YES"> + + + +