Skip to content

Commit 5902b40

Browse files
[Infra] Remove C99 language standard settings (#14970)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent ad49e1f commit 5902b40

18 files changed

+3
-20
lines changed

FirebaseABTesting.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
4949
s.requires_arc = base_dir + '*.m'
5050
s.public_header_files = base_dir + 'Public/FirebaseABTesting/*.h'
5151
s.pod_target_xcconfig = {
52-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
5352
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
5453
}
5554
s.dependency 'FirebaseCore', '~> 11.15.0'

FirebaseAppCheck.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Pod::Spec.new do |s|
5151
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.1'
5252

5353
s.pod_target_xcconfig = {
54-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
5554
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
5655
}
5756

FirebaseAppDistribution.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ iOS SDK for App Distribution for Firebase.
3636
s.dependency 'FirebaseInstallations', '~> 11.0'
3737

3838
s.pod_target_xcconfig = {
39-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
4039
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
4140
}
4241

FirebaseAuth.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ supports email and password accounts, as well as several 3rd party authenticatio
4949
'FirebaseAuth/CHANGELOG.md'
5050
]
5151
s.pod_target_xcconfig = {
52-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
5352
# The second path is to find FirebaseAuth-Swift.h from a pod gen project
5453
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}" "${OBJECT_FILE_DIR_normal}/${NATIVE_ARCH_ACTUAL}"',
5554
'OTHER_SWIFT_FLAGS' => "$(inherited) #{ENV.key?('FIREBASE_CI') ? '-D FIREBASE_CI -warnings-as-errors' : ''}"

FirebaseCore.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
5656
s.dependency 'FirebaseCoreInternal', '~> 11.15.0'
5757

5858
s.pod_target_xcconfig = {
59-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
6059
'GCC_PREPROCESSOR_DEFINITIONS' => 'Firebase_VERSION=' + s.version.to_s,
6160
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
6261
'OTHER_CFLAGS' => '-fno-autolink'

FirebaseCore/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Unreleased
2+
- [fixed] Remove c99 as the required C language standard. (#14950)
3+
14
# Firebase 11.12.0
25
- [changed] Firebase now requires at least Xcode 16.2. See
36
https://developer.apple.com/news/?id=9s0rgdy9 for more info.

FirebaseCrashlytics.podspec

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Pod::Spec.new do |s|
7575
s.watchos.frameworks = 'Security'
7676

7777
s.ios.pod_target_xcconfig = {
78-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
7978
'GCC_PREPROCESSOR_DEFINITIONS' =>
8079
'CLS_SDK_NAME="Crashlytics iOS SDK" ' +
8180
# For nanopb:
@@ -84,7 +83,6 @@ Pod::Spec.new do |s|
8483
}
8584

8685
s.osx.pod_target_xcconfig = {
87-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
8886
'GCC_PREPROCESSOR_DEFINITIONS' =>
8987
'CLS_SDK_NAME="Crashlytics Mac SDK" ' +
9088
# For nanopb:
@@ -93,7 +91,6 @@ Pod::Spec.new do |s|
9391
}
9492

9593
s.tvos.pod_target_xcconfig = {
96-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
9794
'GCC_PREPROCESSOR_DEFINITIONS' =>
9895
'CLS_SDK_NAME="Crashlytics tvOS SDK" ' +
9996
# For nanopb:
@@ -102,7 +99,6 @@ Pod::Spec.new do |s|
10299
}
103100

104101
s.watchos.pod_target_xcconfig = {
105-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
106102
'GCC_PREPROCESSOR_DEFINITIONS' =>
107103
'CLS_SDK_NAME="Crashlytics watchOS SDK" ' +
108104
# For nanopb:

FirebaseDatabase.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
5353
s.dependency 'FirebaseSharedSwift', '~> 11.0'
5454
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.1'
5555
s.pod_target_xcconfig = {
56-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
5756
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
5857
}
5958

FirebaseDynamicLinks.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Firebase Dynamic Links are deep links that enhance user experience and increase
4040
s.dependency 'FirebaseCore', '~> 11.15.0'
4141

4242
s.pod_target_xcconfig = {
43-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
4443
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRDynamicLinks3P GIN_SCION_LOGGING',
4544
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
4645
}

FirebaseFirestoreInternal.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
118118
s.pod_target_xcconfig = {
119119
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
120120
'CLANG_CXX_LIBRARY' => 'libc++',
121-
'GCC_C_LANGUAGE_STANDARD' => 'c99',
122121
'GCC_PREPROCESSOR_DEFINITIONS' =>
123122
"FIRFirestore_VERSION=#{s.version} " +
124123
# The nanopb pod sets these defs, so we must too. (We *do* require 16bit

0 commit comments

Comments
 (0)