From 6566de53f64df975fd0d431ab2ab2380ed156db9 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Tue, 7 Feb 2023 09:53:34 -0800 Subject: [PATCH] [ObjC] Don't auto enable analysis during all builds. This slows down the build and hasn't had an issue in a really long time. The support is still there, so it can be manually run at any time from within Xcode. PiperOrigin-RevId: 507810543 --- objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj | 4 ---- objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj | 4 ---- objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj | 4 ---- 3 files changed, 12 deletions(-) diff --git a/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj b/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj index cb1a5bda80..f2c1df620e 100644 --- a/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj +++ b/objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj @@ -925,7 +925,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -976,7 +975,6 @@ GENERATE_PROFILING_CODE = NO; MACOSX_DEPLOYMENT_TARGET = 10.12; ONLY_ACTIVE_ARCH = YES; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = macosx; USE_HEADERMAP = NO; WARNING_CFLAGS = ( @@ -999,7 +997,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -1047,7 +1044,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; GENERATE_PROFILING_CODE = NO; MACOSX_DEPLOYMENT_TARGET = 10.12; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; diff --git a/objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj b/objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj index a58aa53e04..1874b5c4fc 100644 --- a/objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj +++ b/objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj @@ -944,7 +944,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -995,7 +994,6 @@ GENERATE_PROFILING_CODE = NO; IPHONEOS_DEPLOYMENT_TARGET = 12.0; ONLY_ACTIVE_ARCH = YES; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = iphoneos; WARNING_CFLAGS = ( "-Wdocumentation-unknown-command", @@ -1017,7 +1015,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -1065,7 +1062,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; GENERATE_PROFILING_CODE = NO; IPHONEOS_DEPLOYMENT_TARGET = 12.0; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; diff --git a/objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj b/objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj index ce3b2d5d8e..71fcdd160e 100644 --- a/objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj +++ b/objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj @@ -938,7 +938,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -988,7 +987,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; GENERATE_PROFILING_CODE = NO; ONLY_ACTIVE_ARCH = YES; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = appletvos; TVOS_DEPLOYMENT_TARGET = 12.0; WARNING_CFLAGS = ( @@ -1011,7 +1009,6 @@ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES; CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; - CLANG_STATIC_ANALYZER_MODE = deep; CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_COMMA = YES; @@ -1058,7 +1055,6 @@ GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; GENERATE_PROFILING_CODE = NO; - RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = appletvos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O";