瀏覽代碼

fix: #3444 Disable strict prototypes build setting on iOS in v2 so RNN is buildable prior to RN 0.56. (#3534)

Dan Murrell 6 年之前
父節點
當前提交
4ba32ba881
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj

+ 2
- 0
lib/ios/ReactNativeNavigation.xcodeproj/project.pbxproj 查看文件

@@ -1243,6 +1243,7 @@
1243 1243
 			isa = XCBuildConfiguration;
1244 1244
 			buildSettings = {
1245 1245
 				CLANG_ENABLE_MODULES = YES;
1246
+				CLANG_WARN_STRICT_PROTOTYPES = NO;
1246 1247
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
1247 1248
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1248 1249
 				OTHER_LDFLAGS = "-ObjC";
@@ -1259,6 +1260,7 @@
1259 1260
 			isa = XCBuildConfiguration;
1260 1261
 			buildSettings = {
1261 1262
 				CLANG_ENABLE_MODULES = YES;
1263
+				CLANG_WARN_STRICT_PROTOTYPES = NO;
1262 1264
 				GCC_TREAT_WARNINGS_AS_ERRORS = YES;
1263 1265
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1264 1266
 				OTHER_LDFLAGS = "-ObjC";