Skip to content

Commit

Permalink
e - Update XcodeWarnings fix for Xcode 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Oct 9, 2022
1 parent 42c7e3a commit 6006e49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Source/XcodeWarnings.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
// Apple Clang - Warning Policies
//GCC_WARN_PEDANTIC = YES
//GCC_TREAT_WARNINGS_AS_ERRORS = YES
//SWIFT_TREAT_WARNINGS_AS_ERRORS = YES

// Apple Clang - Warnings - All languages
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
Expand Down Expand Up @@ -115,7 +114,7 @@ CLANG_ANALYZER_NULL_DEREFERENCE = YES
CLANG_ANALYZER_DIVIDE_BY_ZERO = YES
CLANG_ANALYZER_MEMORY_MANAGEMENT = YES
CLANG_TIDY_BUGPRONE_INFINITE_LOOP = YES
CLANG_ANALYZER_NONNULL = YES_AGGRESSIVE
CLANG_ANALYZER_NONNULL = YES
CLANG_TIDY_BUGPRONE_ASSERT_SIDE_EFFECT = YES

// Static Analysis - Issues - Apple APIs
Expand Down Expand Up @@ -157,3 +156,9 @@ CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK = YES
CLANG_ANALYZER_DEADCODE_DEADSTORES = YES
CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES
CLANG_TIDY_BUGPRONE_REDUNDANT_BRANCH_CONDITION = YES

// Swift Compiler - Language
SWIFT_STRICT_CONCURRENCY = complete

// Swift Compiler - Warning Policies
//SWIFT_TREAT_WARNINGS_AS_ERRORS = YES

0 comments on commit 6006e49

Please sign in to comment.