mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 21:05:40 +08:00
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:
committed by
Facebook Github Bot
parent
f50df4f5ec
commit
0ed8461f6d
@@ -141,6 +141,7 @@
|
||||
WARNING_CFLAGS = (
|
||||
"-Werror",
|
||||
"-Wall",
|
||||
"-Wno-deprecated-declarations",
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
@@ -182,6 +183,7 @@
|
||||
WARNING_CFLAGS = (
|
||||
"-Werror",
|
||||
"-Wall",
|
||||
"-Wno-deprecated-declarations",
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user