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
This commit is contained in:
Kevin Gozali 2018-05-22 01:08:22 -07:00 committed by Facebook Github Bot
parent abb4e5cb7a
commit 17516340b6
1 changed files with 4 additions and 6 deletions

View File

@ -184,6 +184,7 @@
WARNING_CFLAGS = ( WARNING_CFLAGS = (
"-Werror", "-Werror",
"-Wall", "-Wall",
"-Wno-deprecated-declarations",
); );
}; };
name = Debug; name = Debug;
@ -226,6 +227,7 @@
WARNING_CFLAGS = ( WARNING_CFLAGS = (
"-Werror", "-Werror",
"-Wall", "-Wall",
"-Wno-deprecated-declarations",
); );
}; };
name = Release; name = Release;
@ -234,9 +236,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
CLANG_STATIC_ANALYZER_MODE = deep; CLANG_STATIC_ANALYZER_MODE = deep;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "$(inherited)";
"$(inherited)",
);
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RCTCameraRoll; PRODUCT_NAME = RCTCameraRoll;
RUN_CLANG_STATIC_ANALYZER = YES; RUN_CLANG_STATIC_ANALYZER = YES;
@ -247,9 +247,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
CLANG_STATIC_ANALYZER_MODE = deep; CLANG_STATIC_ANALYZER_MODE = deep;
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = "$(inherited)";
"$(inherited)",
);
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = RCTCameraRoll; PRODUCT_NAME = RCTCameraRoll;
RUN_CLANG_STATIC_ANALYZER = NO; RUN_CLANG_STATIC_ANALYZER = NO;