Skip to content

Commit

Permalink
(?) Disable "Treat Warnings as Errors" in two targets
Browse files Browse the repository at this point in the history
— WordPressIntents and WordPressStatsWidgets.

This is a known issue documented in Xcode's release notes:
> Generated Swift code that the Intent definition compiler produces
> emits a warning when compiled:

Hopefully this issue will be addressed in future betas, and then we can
revert this commit.
  • Loading branch information
crazytonyli committed Jul 28, 2022
1 parent eac46ee commit 07d45f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions WordPress/WordPress.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22746,6 +22746,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressStatsWidgets/Supporting Files/WordPressStatsWidgets-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpdebug;
Expand Down Expand Up @@ -22798,6 +22799,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match AppStore org.wordpress.WordPressStatsWidgets";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressStatsWidgets/Supporting Files/WordPressStatsWidgets-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wordpress;
Expand Down Expand Up @@ -22851,6 +22853,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.wordpress.internal.WordPressStatsWidgets";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressStatsWidgets/Supporting Files/WordPressStatsWidgets-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpinternal;
Expand Down Expand Up @@ -22904,6 +22907,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.wordpress.alpha.WordPressStatsWidgets";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressStatsWidgets/Supporting Files/WordPressStatsWidgets-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpalpha;
Expand Down Expand Up @@ -25417,6 +25421,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressIntents/Supporting Files/WordPressIntents-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpdebug;
Expand Down Expand Up @@ -25467,6 +25472,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match AppStore org.wordpress.WordPressIntents";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressIntents/Supporting Files/WordPressIntents-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wordpress;
Expand Down Expand Up @@ -25518,6 +25524,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.wordpress.internal.WordPressIntents";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressIntents/Supporting Files/WordPressIntents-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpinternal;
Expand Down Expand Up @@ -25569,6 +25576,7 @@
PROVISIONING_PROFILE_SPECIFIER = "match InHouse org.wordpress.alpha.WordPressIntents";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "WordPressIntents/Supporting Files/WordPressIntents-Bridging-Header.h";
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
WPCOM_SCHEME = wpalpha;
Expand Down

0 comments on commit 07d45f7

Please sign in to comment.