diff --git a/Analytics.xcodeproj/project.pbxproj b/Analytics.xcodeproj/project.pbxproj index 8ba2becb9..9d4b7a0dc 100644 --- a/Analytics.xcodeproj/project.pbxproj +++ b/Analytics.xcodeproj/project.pbxproj @@ -469,7 +469,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0810; - LastUpgradeCheck = 0810; + LastUpgradeCheck = 0900; ORGANIZATIONNAME = Segment; TargetAttributes = { EADEB85A1DECD080005322DA = { @@ -649,7 +649,9 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; @@ -657,7 +659,11 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; @@ -686,6 +692,7 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -701,7 +708,9 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; @@ -709,7 +718,11 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; @@ -732,6 +745,7 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -796,7 +810,6 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OBJC_BRIDGING_HEADER = "AnalyticsTests/AnalyticsTests-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; }; name = Debug; }; @@ -810,7 +823,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "AnalyticsTests/AnalyticsTests-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; }; name = Release; }; diff --git a/Analytics.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme b/Analytics.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme index 3a9a2bddf..377a38856 100644 --- a/Analytics.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme +++ b/Analytics.xcodeproj/xcshareddata/xcschemes/Analytics.xcscheme @@ -1,6 +1,6 @@ @@ -56,6 +57,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/Analytics.xcodeproj/xcshareddata/xcschemes/AnalyticsTests.xcscheme b/Analytics.xcodeproj/xcshareddata/xcschemes/AnalyticsTests.xcscheme index 1595c30e6..1f8a397c8 100644 --- a/Analytics.xcodeproj/xcshareddata/xcschemes/AnalyticsTests.xcscheme +++ b/Analytics.xcodeproj/xcshareddata/xcschemes/AnalyticsTests.xcscheme @@ -1,6 +1,6 @@ 1.2.0' # runner lib - pod 'Nimble', '~> 7.0.2' # Matcher lib + pod 'Nimble', '~> 7.0.3' # Matcher lib pod 'Nocilla', '~> 0.11.0' # HTTP Mocking Library pod 'SwiftTryCatch', :git => 'https://github.com/segmentio/SwiftTryCatch.git' # Utils lib diff --git a/Podfile.lock b/Podfile.lock index 5819dbdf6..cd284ceed 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,11 +1,11 @@ PODS: - - Nimble (7.0.2) + - Nimble (7.0.3) - Nocilla (0.11.0) - Quick (1.2.0) - - SwiftTryCatch (0.0.1) + - SwiftTryCatch (1.0.0) DEPENDENCIES: - - Nimble (~> 7.0.2) + - Nimble (~> 7.0.3) - Nocilla (~> 0.11.0) - Quick (~> 1.2.0) - SwiftTryCatch (from `https://github.com/segmentio/SwiftTryCatch.git`) @@ -16,15 +16,15 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: SwiftTryCatch: - :commit: dcdc954cb0945faaf33800b4b913e04d2ebdd965 + :commit: 2cdec294628f73350c5d8f6f05d08886af57668b :git: https://github.com/segmentio/SwiftTryCatch.git SPEC CHECKSUMS: - Nimble: bfe1f814edabba69ff145cb1283e04ed636a67f2 + Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08 - SwiftTryCatch: fb6d2b34abe48efd69578dac919293a44f95b481 + SwiftTryCatch: 2f4ef36cf5396bdb450006b70633dbce5260d3b3 -PODFILE CHECKSUM: 25d553a80951f726d31098fb274eedfdc7fce4d9 +PODFILE CHECKSUM: ceb786c99293d3658014513be0e69ec381216acd -COCOAPODS: 1.3.1 +COCOAPODS: 1.4.0.rc.1 diff --git a/circle.yml b/circle.yml index 7231b71f3..bf9c1b3b3 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,7 @@ +# TODO: Upgrade to circle 2.0 syntax machine: xcode: - version: "8.2.1" + version: "9.0" dependencies: pre: