error when missing required protocol methods

This commit is contained in:
Michael Kirk 2019-02-05 11:55:39 -07:00
parent d59ebae39f
commit 8cda3c887b
1 changed files with 5 additions and 1 deletions

View File

@ -4016,7 +4016,10 @@
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-fobjc-arc-exceptions";
OTHER_CFLAGS = (
"-fobjc-arc-exceptions",
"-Werror=protocol",
);
SDKROOT = iphoneos;
SWIFT_VERSION = 4.0;
VALIDATE_PRODUCT = YES;
@ -4089,6 +4092,7 @@
OTHER_CFLAGS = (
"-DNS_BLOCK_ASSERTIONS=1",
"-fobjc-arc-exceptions",
"-Werror=protocol",
);
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";