From 2acff65822110148a1524fa03232435bf718ee8f Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Thu, 23 Mar 2017 14:58:20 -0700 Subject: [PATCH] Enable -Wimplicit-retain-self en sync warning config for all projects Summary: This is enforced for all of our internal iOS code and a common cause of import failures. cc janicduplessis Closes https://github.com/facebook/react-native/pull/13124 Differential Revision: D4765016 fbshipit-source-id: 7c8248c98bca0fa6bad24d5a52b666243375e0db --- RCTCameraRoll.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RCTCameraRoll.xcodeproj/project.pbxproj b/RCTCameraRoll.xcodeproj/project.pbxproj index 97f4860bf..8e8acf275 100644 --- a/RCTCameraRoll.xcodeproj/project.pbxproj +++ b/RCTCameraRoll.xcodeproj/project.pbxproj @@ -153,6 +153,7 @@ CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -200,6 +201,7 @@ CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;