Skip to content

Commit

Permalink
Require at least CocoaPods version 1.12.0 (#12322)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Jan 26, 2024
1 parent 26184fc commit b7d6209
Show file tree
Hide file tree
Showing 39 changed files with 42 additions and 38 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ To learn more about running tests with Swift Package Manager, visit the
#### **[CocoaPods]**

[CocoaPods] is another popular dependency manager used in Apple development.
Firebase supports development with CocoaPods 1.10.0 (or later). If you choose to
Firebase supports development with CocoaPods 1.12.0 (or later). If you choose to
develop using CocoaPods, it's recommend to use
[`cocoapods-generate`][cocoapods-generate], a plugin that generates a
[workspace] from a [podspec]. This plugin allows you to quickly generate a
Expand Down
2 changes: 1 addition & 1 deletion Firebase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Simplify your app development, grow your user base, and monetize more effectivel
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'

s.swift_version = '5.3'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseABTesting.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.swift_version = '5.3'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAnalytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
:http => 'https://dl.google.com/firebase/ios/analytics/0199e7929b47e2d9/FirebaseAnalytics-10.20.0.tar.gz'
}

s.cocoapods_version = '>= 1.10.0'
s.cocoapods_version = '>= 1.12.0'
s.swift_version = '5.3'

s.ios.deployment_target = '10.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAnalyticsOnDeviceConversion.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
:tag => 'CocoaPods-' + s.version.to_s
}

s.cocoapods_version = '>= 1.10.2'
s.cocoapods_version = '>= 1.12.0'

s.dependency 'GoogleAppMeasurementOnDeviceConversion', '10.21.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseAnalyticsSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Firebase Analytics is a free, out-of-the-box analytics solution that inspires ac
s.osx.deployment_target = osx_deployment_target
s.tvos.deployment_target = tvos_deployment_target

s.cocoapods_version = '>= 1.10.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseAppCheck/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppDistribution.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ iOS SDK for App Distribution for Firebase.

s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseAppDistribution/Sources/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ supports email and password accounts, as well as several 3rd party authenticatio
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

source = 'FirebaseAuth/Sources/'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuthTestingSupport.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false
s.requires_arc = true

Expand Down
2 changes: 1 addition & 1 deletion FirebaseCombineSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for internal testing only. It should not be published.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

source = 'FirebaseCombineSwift/Sources/'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
4 changes: 4 additions & 0 deletions FirebaseCore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Firebase 10.21.0
- Firebase now requires at least CocoaPods version 1.12.0 to enable privacy
manifest support.

# Firebase 10.20.0
- The following change only applies to those using a binary distribution of
a Firebase SDK(s): In preparation for supporting Privacy Manifests, each
Expand Down
2 changes: 1 addition & 1 deletion FirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDatabase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseDatabase/Sources/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDatabaseSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDynamicLinks.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Firebase Dynamic Links are deep links that enhance user experience and increase

s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

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

s.weak_framework = 'FirebaseFirestoreInternal'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.public_header_files = 'FirebaseFirestoreInternal/**/*.h'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,

s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

# Header files that constitute the interface to this module. Only Objective-C
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestoreSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.requires_arc = true
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestoreTestingSupport.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false
s.requires_arc = true

Expand Down
2 changes: 1 addition & 1 deletion FirebaseFunctions.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Cloud Functions for Firebase.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.swift_version = '5.3'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseFunctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ integration test FirebaseFunctions:

### Prereqs

- At least CocoaPods 1.10.0
- At least CocoaPods 1.12.0
- Install [cocoapods-generate](https://github.com/square/cocoapods-generate)

### To Develop
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInAppMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin

s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseInAppMessaging/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInAppMessagingSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin
s.swift_version = '5.3'
s.ios.deployment_target = '13.0'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInstallations.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseInstallations/Source/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseMLModelDownloader.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ device, and it is completely free.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseMessaging/"
Expand Down
2 changes: 1 addition & 1 deletion FirebasePerformance.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Firebase Performance library to measure performance of Mobile and Web Apps.
s.ios.deployment_target = ios_deployment_target
s.tvos.deployment_target = tvos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebasePerformance/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseRemoteConfig.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ app update.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseRemoteConfig/Sources/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseRemoteConfigSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app update.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseSessions.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

base_dir = "FirebaseSessions/"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseSharedSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Firebase products. FirebaseSharedSwift is not supported for non-Firebase usage.
s.tvos.deployment_target = tvos_deployment_target
s.watchos.deployment_target = watchos_deployment_target

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion FirebaseStorage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Firebase Storage provides robust, secure file uploads and downloads from Firebas

s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.source_files = [
Expand Down
2 changes: 1 addition & 1 deletion GoogleAppMeasurement.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
:http => 'https://dl.google.com/firebase/ios/analytics/3fcc7b954e5d5458/GoogleAppMeasurement-10.20.0.tar.gz'
}

s.cocoapods_version = '>= 1.10.2'
s.cocoapods_version = '>= 1.12.0'

s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.13'
Expand Down
2 changes: 1 addition & 1 deletion GoogleAppMeasurementOnDeviceConversion.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
:http => 'https://dl.google.com/firebase/ios/analytics/4ab453c686c6aac4/GoogleAppMeasurementOnDeviceConversion-10.20.0.tar.gz'
}

s.cocoapods_version = '>= 1.10.2'
s.cocoapods_version = '>= 1.12.0'

s.ios.deployment_target = '10.0'

Expand Down
2 changes: 1 addition & 1 deletion GoogleUtilitiesComponents.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Not intended for direct public usage.
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'

s.cocoapods_version = '>= 1.4.0'
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false
s.static_framework = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

source "https://rubygems.org"

gem 'cocoapods', '1.10.0.rc.1'
gem 'cocoapods', '1.14.3'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ development with Swift Package Manager.
### CocoaPods

Install the following:
* CocoaPods 1.10.0 (or later)
* CocoaPods 1.12.0 (or later)
* [CocoaPods generate](https://github.com/square/cocoapods-generate)

For the pod that you want to develop:
Expand Down

2 comments on commit b7d6209

@arisupriatna14
Copy link

@arisupriatna14 arisupriatna14 commented on b7d6209 Mar 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @paulb777, did you have a solution/suggestion for build an app in the Xcode Cloud with Cocoapods 1.12.0? Which is the cocoapods is required using ruby 2.7.x and unfortunately in the Xcode Cloud can't update to the new ruby version. So, currently my problem is can't build in the Xcode Cloud when using the latest Firebase version.

Thank you.

@paulb777
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CocoaPods 1.14.3 and newer restore the ability to use the system ruby - https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md

Please sign in to comment.