Browse Source

Silence deprecation warnings in UICatalog

We will rewrite the whole project eventually per #314
Tanner Bennett 6 years ago
parent
commit
ca919a4188
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Example/UICatalog.xcodeproj/project.pbxproj

+ 8 - 0
Example/UICatalog.xcodeproj/project.pbxproj

@@ -529,6 +529,10 @@
 				ONLY_ACTIVE_ARCH = YES;
 				SDKROOT = iphoneos;
 				TARGETED_DEVICE_FAMILY = "1,2";
+				WARNING_CFLAGS = (
+					"-Wno-deprecated-declarations",
+					"-Wno-deprecated-implementations",
+				);
 			};
 			name = Debug;
 		};
@@ -576,6 +580,10 @@
 				SDKROOT = iphoneos;
 				TARGETED_DEVICE_FAMILY = "1,2";
 				VALIDATE_PRODUCT = YES;
+				WARNING_CFLAGS = (
+					"-Wno-deprecated-declarations",
+					"-Wno-deprecated-implementations",
+				);
 			};
 			name = Release;
 		};