From 8821c7ed0e29c87e30ba93c11dacb138bd17dae4 Mon Sep 17 00:00:00 2001 From: Michael Tyson Date: Fri, 24 Nov 2017 16:13:50 +1100 Subject: [PATCH] Updated to recommended build settings for Xcode 9 --- TPKeyboardAvoidingSample.xcodeproj/project.pbxproj | 14 +++++++++++++- .../xcschemes/TPKeyboardAvoidingKit.xcscheme | 4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj b/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj index 97d1d51f..044f357e 100644 --- a/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj +++ b/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj @@ -206,7 +206,7 @@ 4C9B0A911B3CEE6E00090084 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0810; + LastUpgradeCheck = 0910; ORGANIZATIONNAME = "A Tasty Pixel"; TargetAttributes = { 3E081E471C0E63A40003DFF8 = { @@ -357,14 +357,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; @@ -404,14 +410,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/TPKeyboardAvoidingSample.xcodeproj/xcshareddata/xcschemes/TPKeyboardAvoidingKit.xcscheme b/TPKeyboardAvoidingSample.xcodeproj/xcshareddata/xcschemes/TPKeyboardAvoidingKit.xcscheme index a0bfa90d..d476c9aa 100644 --- a/TPKeyboardAvoidingSample.xcodeproj/xcshareddata/xcschemes/TPKeyboardAvoidingKit.xcscheme +++ b/TPKeyboardAvoidingSample.xcodeproj/xcshareddata/xcschemes/TPKeyboardAvoidingKit.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"