From 17516340b625c0b8c02f669fdd36ca66446d4bb2 Mon Sep 17 00:00:00 2001 From: Kevin Gozali Date: Tue, 22 May 2018 01:08:22 -0700 Subject: [PATCH] iOS: disable deprecation warning for Xcode 9.3.1+ for now Summary: This is to unbreak builds due to deprecated methods. Cocoapods build seems unaffected. Reviewed By: mmmulani Differential Revision: D8060139 fbshipit-source-id: a4302d649dd75d29d293aeffdcc352bf09b0c504 --- RCTCameraRoll.xcodeproj/project.pbxproj | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/RCTCameraRoll.xcodeproj/project.pbxproj b/RCTCameraRoll.xcodeproj/project.pbxproj index e50301aad..1132021a6 100644 --- a/RCTCameraRoll.xcodeproj/project.pbxproj +++ b/RCTCameraRoll.xcodeproj/project.pbxproj @@ -184,6 +184,7 @@ WARNING_CFLAGS = ( "-Werror", "-Wall", + "-Wno-deprecated-declarations", ); }; name = Debug; @@ -226,6 +227,7 @@ WARNING_CFLAGS = ( "-Werror", "-Wall", + "-Wno-deprecated-declarations", ); }; name = Release; @@ -234,9 +236,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_STATIC_ANALYZER_MODE = deep; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RCTCameraRoll; RUN_CLANG_STATIC_ANALYZER = YES; @@ -247,9 +247,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_STATIC_ANALYZER_MODE = deep; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); + LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = RCTCameraRoll; RUN_CLANG_STATIC_ANALYZER = NO;