Skip to content

Upgrade C++14 to C++17 for Cocoapods #15083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: cheryllin/c++17upgrade
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions Firebase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
]
s.social_media_url = 'https://twitter.com/Firebase'
s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'

s.cocoapods_version = '>= 1.12.0'
Expand All @@ -34,7 +34,7 @@ Simplify your app development, grow your user base, and monetize more effectivel

s.subspec 'Core' do |ss|
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.ios.dependency 'FirebaseAnalytics', '~> 12.0.0'
ss.osx.dependency 'FirebaseAnalytics', '~> 12.0.0'
Expand All @@ -56,14 +56,14 @@ Simplify your app development, grow your user base, and monetize more effectivel
}
end
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end

s.subspec 'Analytics' do |ss|
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.dependency 'Firebase/Core'
end
Expand All @@ -73,7 +73,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseABTesting', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -88,7 +88,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'Firebase/CoreOnly'
ss.dependency 'FirebaseAppCheck', '~> 12.0.0'
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -98,7 +98,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseAuth', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -108,7 +108,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseCrashlytics', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -118,7 +118,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseDatabase', '~> 12.0.0'
# Standard platforms PLUS watchOS 7.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -127,7 +127,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'Firebase/CoreOnly'
ss.dependency 'FirebaseFirestore', '~> 12.0.0'
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.ios.deployment_target = '15.0'
end

Expand All @@ -136,7 +136,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseFunctions', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -159,7 +159,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseMessaging', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -169,7 +169,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseMLModelDownloader', '~> 12.0.0-beta'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -187,7 +187,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseRemoteConfig', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand All @@ -197,7 +197,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
ss.dependency 'FirebaseStorage', '~> 12.0.0'
# Standard platforms PLUS watchOS.
ss.ios.deployment_target = '15.0'
ss.osx.deployment_target = '10.15'
ss.osx.deployment_target = '11.0'
ss.tvos.deployment_target = '15.0'
ss.watchos.deployment_target = '7.0'
end
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuthInterop.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Pod::Spec.new do |s|
}
s.social_media_url = 'https://twitter.com/Firebase'
s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'
s.watchos.deployment_target = '7.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseCoreExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
s.swift_version = '5.9'

s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'
s.watchos.deployment_target = '7.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
}

s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'

s.swift_version = '5.9'
Expand Down
10 changes: 5 additions & 5 deletions FirebaseFirestoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
}

s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'

s.swift_version = '5.9'
Expand Down Expand Up @@ -94,7 +94,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
s.dependency 'FirebaseAppCheckInterop', '~> 12.0.0'
s.dependency 'FirebaseCore', '~> 12.0.0'

abseil_version = '~> 1.20240722.0'
abseil_version = '~> 1.20250127.1'
s.dependency 'abseil/algorithm', abseil_version
s.dependency 'abseil/base', abseil_version
s.dependency 'abseil/container/flat_hash_map', abseil_version
Expand All @@ -104,8 +104,8 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
s.dependency 'abseil/time', abseil_version
s.dependency 'abseil/types', abseil_version

s.dependency 'gRPC-Core', '~> 1.69.0'
s.dependency 'gRPC-C++', '~> 1.69.0'
s.dependency 'gRPC-Core', '~> 1.71.0'
s.dependency 'gRPC-C++', '~> 1.71.0'
s.dependency 'leveldb-library', '~> 1.22'
s.dependency 'nanopb', '~> 3.30910.0'

Expand All @@ -115,7 +115,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,

s.library = 'c++'
s.pod_target_xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
'CLANG_CXX_LIBRARY' => 'libc++',
'GCC_PREPROCESSOR_DEFINITIONS' =>
"FIRFirestore_VERSION=#{s.version} " +
Expand Down
2 changes: 1 addition & 1 deletion FirebaseMessagingInterop.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Pod::Spec.new do |s|
}
s.social_media_url = 'https://twitter.com/Firebase'
s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'
s.watchos.deployment_target = '7.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseRemoteConfigInterop.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|

# The ios deployment target must support Crashlytics.
s.ios.deployment_target = '15.0'
s.osx.deployment_target = '10.15'
s.osx.deployment_target = '11.0'
s.tvos.deployment_target = '15.0'
s.watchos.deployment_target = '7.0'

Expand Down
Loading
Loading