Treat warnings as errors.

This commit is contained in:
Stefan Ceriu 2022-04-14 16:33:54 +03:00
parent 6c7dd6f6b0
commit 81646ec917
3 changed files with 8 additions and 5 deletions

View File

@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 51;
objects = {
/* Begin PBXBuildFile section */
@ -1117,6 +1117,7 @@
SDKROOT = iphoneos;
SUPPORTS_MACCATALYST = YES;
SWIFT_OBJC_BRIDGING_HEADER = "ElementX/SupportingFiles/ElementX-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
@ -1140,6 +1141,7 @@
SDKROOT = iphoneos;
SUPPORTS_MACCATALYST = YES;
SWIFT_OBJC_BRIDGING_HEADER = "ElementX/SupportingFiles/ElementX-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;

View File

@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/onevcat/Kingfisher",
"state" : {
"revision" : "32e4acdf6971f58f5ad552389cf2d7d016334eaf",
"version" : "7.2.0"
"revision" : "1a7b5480eb750a8e171654b9b1cb0a2cbeb27a55",
"version" : "7.2.1"
}
},
{
@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/SwiftyBeaver/SwiftyBeaver",
"state" : {
"revision" : "2c039501d6eeb4d4cd4aec4a8d884ad28862e044",
"version" : "1.9.5"
"revision" : "12b5acf96d98f91d50de447369bd18df74600f1a",
"version" : "1.9.6"
}
}
],

View File

@ -48,6 +48,7 @@ targets:
SUPPORTS_MACCATALYST: YES
CODE_SIGN_ENTITLEMENTS: ElementX/SupportingFiles/ElementX.entitlements
SWIFT_OBJC_BRIDGING_HEADER: ElementX/SupportingFiles/ElementX-Bridging-Header.h
SWIFT_TREAT_WARNINGS_AS_ERRORS: YES
postBuildScripts:
- name: ⚠️ SwiftLint