diff --git a/.travis.yml b/.travis.yml index 286afc1..650223a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: swift -osx_image: xcode9.4 -xcode_sdk: iphonesimulator11.4 +osx_image: xcode10.1 +xcode_sdk: iphonesimulator12.0 script: -- xcodebuild clean build test -project Trekker.xcodeproj -scheme Trekker -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.4' +- xcodebuild clean build test -project Trekker.xcodeproj -scheme Trekker -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.0' diff --git a/Example/AppDelegate.swift b/Example/AppDelegate.swift index 8659973..3b574df 100644 --- a/Example/AppDelegate.swift +++ b/Example/AppDelegate.swift @@ -16,7 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { //MARK: - Application states - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. //let mixpanel = MixpanelService(token: "002b0dd7f191c2cdeee19893e12572fe") diff --git a/Trekker.xcodeproj/project.pbxproj b/Trekker.xcodeproj/project.pbxproj index edd23de..066d2c3 100644 --- a/Trekker.xcodeproj/project.pbxproj +++ b/Trekker.xcodeproj/project.pbxproj @@ -558,7 +558,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "co.awkward.trekker-example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -573,7 +573,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "co.awkward.trekker-example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; @@ -597,7 +597,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -622,7 +622,7 @@ PRODUCT_BUNDLE_IDENTIFIER = co.awkward.trekker; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -635,7 +635,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "co.awkward.trekker-tests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -646,7 +646,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "co.awkward.trekker-tests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/Trekker.xcodeproj/xcshareddata/xcschemes/Trekker.xcscheme b/Trekker.xcodeproj/xcshareddata/xcschemes/Trekker.xcscheme index 23661a7..dd10db2 100644 --- a/Trekker.xcodeproj/xcshareddata/xcschemes/Trekker.xcscheme +++ b/Trekker.xcodeproj/xcshareddata/xcschemes/Trekker.xcscheme @@ -1,6 +1,6 @@