From d1017fb0ad2cc0cbd9f01c23fb6452e6f2f06cac Mon Sep 17 00:00:00 2001 From: Srdan Rasic Date: Wed, 13 Sep 2017 08:19:14 +0200 Subject: [PATCH] Clean up for Xcode 9 --- ReactiveKit.xcodeproj/project.pbxproj | 14 +++++++++++++- .../xcschemes/ReactiveKit-iOS.xcscheme | 4 +++- .../xcschemes/ReactiveKit-macOS.xcscheme | 4 +++- .../xcschemes/ReactiveKit-tvOS.xcscheme | 4 +++- .../xcschemes/ReactiveKit-watchOS.xcscheme | 4 +++- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/ReactiveKit.xcodeproj/project.pbxproj b/ReactiveKit.xcodeproj/project.pbxproj index 8457ae0..11d6638 100644 --- a/ReactiveKit.xcodeproj/project.pbxproj +++ b/ReactiveKit.xcodeproj/project.pbxproj @@ -384,7 +384,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0810; + LastUpgradeCheck = 0900; ORGANIZATIONNAME = "Srdan Rasic"; TargetAttributes = { 16C33AF81BEFB72500A0DBE0 = { @@ -741,14 +741,20 @@ 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_EMPTY_BODY = YES; 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_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -791,14 +797,20 @@ 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_EMPTY_BODY = YES; 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_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; diff --git a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-iOS.xcscheme b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-iOS.xcscheme index 6aa7839..0edc55d 100644 --- a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-iOS.xcscheme +++ b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-iOS.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/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-macOS.xcscheme b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-macOS.xcscheme index 7a00d33..1d300cb 100644 --- a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-macOS.xcscheme +++ b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-macOS.xcscheme @@ -1,6 +1,6 @@ @@ -36,6 +37,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-tvOS.xcscheme b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-tvOS.xcscheme index e4a7efe..2cf97b8 100644 --- a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-tvOS.xcscheme +++ b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-tvOS.xcscheme @@ -1,6 +1,6 @@ @@ -36,6 +37,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-watchOS.xcscheme b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-watchOS.xcscheme index 06bef87..49f0cbf 100644 --- a/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-watchOS.xcscheme +++ b/ReactiveKit.xcodeproj/xcshareddata/xcschemes/ReactiveKit-watchOS.xcscheme @@ -1,6 +1,6 @@ @@ -36,6 +37,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO"