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

View File

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

View File

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