From 41c20e139ccf8887cce151a64004f02fdc988a62 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 13 Apr 2022 13:58:25 -0700 Subject: [PATCH 1/4] Compatibility updates for pre-release Firebase v9 testing --- FirebaseAnonymousAuthUI.podspec | 6 +++--- FirebaseAuthUI.podspec | 6 +++--- FirebaseDatabaseUI.podspec | 6 +++--- FirebaseEmailAuthUI.podspec | 4 ++-- FirebaseFacebookAuthUI.podspec | 4 ++-- FirebaseFirestoreUI.podspec | 6 +++--- FirebaseGoogleAuthUI.podspec | 4 ++-- FirebaseOAuthUI.podspec | 6 +++--- FirebasePhoneAuthUI.podspec | 4 ++-- FirebaseStorageUI.podspec | 6 +++--- FirebaseStorageUI/Sources/FUIStorageImageLoader.m | 12 +++++++++--- .../FIRStorageDownloadTask+SDWebImage.h | 8 +++++++- .../Public/FirebaseStorageUI/FUIStorageDefine.h | 8 +++++++- .../Public/FirebaseStorageUI/NSURL+FirebaseStorage.h | 9 ++++++++- .../FirebaseStorageUI/UIImageView+FirebaseStorage.h | 8 +++++++- FirebaseUI.podspec | 4 ++-- 16 files changed, 66 insertions(+), 35 deletions(-) diff --git a/FirebaseAnonymousAuthUI.podspec b/FirebaseAnonymousAuthUI.podspec index d0c2c6cc206..2a3d306e87c 100644 --- a/FirebaseAnonymousAuthUI.podspec +++ b/FirebaseAnonymousAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseAnonymousAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'Provides anonymous auth support for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.public_header_files = 'FirebaseAnonymousAuthUI/Sources/Public/FirebaseAnonymousAuthUI/*.h' s.source_files = 'FirebaseAnonymousAuthUI/Sources/**/*.{h,m}' s.dependency 'FirebaseAuthUI' - s.dependency 'FirebaseAuth', '~> 8.0' + s.dependency 'FirebaseAuth', '>= 8.0', '< 10.0' s.dependency 'FirebaseCore' s.resource_bundles = { 'FirebaseAnonymousAuthUI' => [ diff --git a/FirebaseAuthUI.podspec b/FirebaseAuthUI.podspec index a27919bf5ec..9871054952e 100644 --- a/FirebaseAuthUI.podspec +++ b/FirebaseAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'A prebuilt authentication UI flow for Firebase Auth.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.public_header_files = 'FirebaseAuthUI/Sources/Public/FirebaseAuthUI/*.h' s.source_files = 'FirebaseAuthUI/Sources/**/*.{h,m}' - s.dependency 'FirebaseAuth', '~> 8.0' + s.dependency 'FirebaseAuth', '>= 8.0', '< 10.0' s.dependency 'FirebaseCore' s.resource_bundles = { 'FirebaseAuthUI' => ['FirebaseAuthUI/Sources/{Resources,Strings}/*.{xib,png,lproj}'] diff --git a/FirebaseDatabaseUI.podspec b/FirebaseDatabaseUI.podspec index 8cef64db6ae..bf98c647de8 100644 --- a/FirebaseDatabaseUI.podspec +++ b/FirebaseDatabaseUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseDatabaseUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'Prebuilt data sources and UI bindings for Firebase Database.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -18,6 +18,6 @@ Pod::Spec.new do |s| s.public_header_files = 'FirebaseDatabaseUI/Sources/Public/FirebaseDatabaseUI/*.h' s.source_files = 'FirebaseDatabaseUI/Sources/**/*.{h,m}' - s.dependency 'FirebaseDatabase', '~> 8.0' + s.dependency 'FirebaseDatabase', '>= 8.0', '< 10.0' end diff --git a/FirebaseEmailAuthUI.podspec b/FirebaseEmailAuthUI.podspec index 478ca253261..6f86ff49f32 100644 --- a/FirebaseEmailAuthUI.podspec +++ b/FirebaseEmailAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseEmailAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'An email authentication provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseFacebookAuthUI.podspec b/FirebaseFacebookAuthUI.podspec index 7115d409529..9436cbd2505 100644 --- a/FirebaseFacebookAuthUI.podspec +++ b/FirebaseFacebookAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseFacebookAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'A Facebook auth provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseFirestoreUI.podspec b/FirebaseFirestoreUI.podspec index 03f056fb897..385f06ca0d5 100644 --- a/FirebaseFirestoreUI.podspec +++ b/FirebaseFirestoreUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseFirestoreUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'Data libraries and UI bindings for Firestore.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -18,6 +18,6 @@ Pod::Spec.new do |s| s.public_header_files = 'FirebaseFirestoreUI/Sources/Public/FirebaseFirestoreUI/*.h' s.source_files = 'FirebaseFirestoreUI/Sources/**/*.{h,m}' - s.dependency 'FirebaseFirestore', '~> 8.0' + s.dependency 'FirebaseFirestore', '>= 8.0', '< 10.0' end diff --git a/FirebaseGoogleAuthUI.podspec b/FirebaseGoogleAuthUI.podspec index 27ac2eb97be..21699e73da5 100644 --- a/FirebaseGoogleAuthUI.podspec +++ b/FirebaseGoogleAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseGoogleAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'Google authentication for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseOAuthUI.podspec b/FirebaseOAuthUI.podspec index 06f68c1b0e2..9b51a711578 100644 --- a/FirebaseOAuthUI.podspec +++ b/FirebaseOAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseOAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'A collection of OAuth providers for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.public_header_files = 'FirebaseOAuthUI/Sources/Public/FirebaseOAuthUI/*.h' s.source_files = 'FirebaseOAuthUI/Sources/**/*.{h,m}' s.dependency 'FirebaseAuthUI', '>= 12.0.2', '< 13.0' - s.dependency 'FirebaseAuth', '~> 8.0' + s.dependency 'FirebaseAuth', '>= 8.0', '< 10.0' s.resource_bundles = { 'FirebaseOAuthUI' => ['FirebaseOAuthUI/Sources/{Resources,Strings}/*.{png,lproj}'] } diff --git a/FirebasePhoneAuthUI.podspec b/FirebasePhoneAuthUI.podspec index f2a9379c04f..98d5511f4d9 100644 --- a/FirebasePhoneAuthUI.podspec +++ b/FirebasePhoneAuthUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebasePhoneAuthUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'A phone auth provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseStorageUI.podspec b/FirebaseStorageUI.podspec index 4b704f05522..2ca80e6fdb1 100644 --- a/FirebaseStorageUI.podspec +++ b/FirebaseStorageUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseStorageUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'UI binding libraries for Firebase.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.tvos.deployment_target = '11.0' s.public_header_files = 'FirebaseStorageUI/Sources/Public/FirebaseStorageUI/*.h' s.source_files = 'FirebaseStorageUI/Sources/**/*.{h,m}' - s.dependency 'FirebaseStorage', '~> 8.0' + s.dependency 'FirebaseStorage', '>= 8.0', '< 10.0' s.dependency 'SDWebImage', '~> 5.6' end diff --git a/FirebaseStorageUI/Sources/FUIStorageImageLoader.m b/FirebaseStorageUI/Sources/FUIStorageImageLoader.m index 177dca6f0a7..816467378b3 100644 --- a/FirebaseStorageUI/Sources/FUIStorageImageLoader.m +++ b/FirebaseStorageUI/Sources/FUIStorageImageLoader.m @@ -18,7 +18,13 @@ #import "FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.h" #import -#import +#if __has_include() + // Firebase 8.x + #import +#else + // Firebase 9.0+ + #import +#endif #if SWIFT_PACKAGE @import GTMSessionFetcherCore; @@ -120,7 +126,7 @@ - (BOOL)canRequestImageForURL:(NSURL *)url { [download observeStatus:FIRStorageTaskStatusProgress handler:^(FIRStorageTaskSnapshot * _Nonnull snapshot) { // Check progressive decoding if need if (options & SDWebImageProgressiveLoad) { - FIRStorageDownloadTask *task = snapshot.task; + FIRStorageDownloadTask *task = (FIRStorageDownloadTask *)snapshot.task; // Currently, FIRStorageDownloadTask does not have the API to grab partial data // But since FirebaseUI and Firebase are seamless component, we access the internal fetcher here GTMSessionFetcher *fetcher = task.fetcher; @@ -160,7 +166,7 @@ - (BOOL)canRequestImageForURL:(NSURL *)url { } - (BOOL)shouldBlockFailedURLWithURL:(NSURL *)url error:(NSError *)error { - if ([error.domain isEqualToString:FIRStorageErrorDomain]) { + if ([error.domain isEqualToString:@"FIRStorageErrorDomain"]) { if (error.code == FIRStorageErrorCodeBucketNotFound || error.code == FIRStorageErrorCodeProjectNotFound || error.code == FIRStorageErrorCodeObjectNotFound) { diff --git a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.h b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.h index 17814dc344a..c6610cde619 100644 --- a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.h +++ b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.h @@ -14,7 +14,13 @@ // limitations under the License. // -#import +#if __has_include() + // Firebase 8.x + #import +#else + // Firebase 9.0+ + #import +#endif #import NS_ASSUME_NONNULL_BEGIN diff --git a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FUIStorageDefine.h b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FUIStorageDefine.h index 7da1dcb47b5..742aab9d0cb 100644 --- a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FUIStorageDefine.h +++ b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FUIStorageDefine.h @@ -14,7 +14,13 @@ // limitations under the License. // -#import +#if __has_include() + // Firebase 8.x + #import +#else + // Firebase 9.0+ + #import +#endif #import /** diff --git a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/NSURL+FirebaseStorage.h b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/NSURL+FirebaseStorage.h index 93b4db49d6c..4677908d89c 100644 --- a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/NSURL+FirebaseStorage.h +++ b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/NSURL+FirebaseStorage.h @@ -14,7 +14,14 @@ // limitations under the License. // #import -#import + +#if __has_include() + // Firebase 8.x + #import +#else + // Firebase 9.0+ + #import +#endif NS_ASSUME_NONNULL_BEGIN diff --git a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h index 1e816d62a5f..021b74562f0 100644 --- a/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h +++ b/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h @@ -16,7 +16,13 @@ #import -#import +#if __has_include() + // Firebase 8.x + #import +#else + // Firebase 9.0+ + #import +#endif #import NS_ASSUME_NONNULL_BEGIN diff --git a/FirebaseUI.podspec b/FirebaseUI.podspec index e13e69c93c1..51abe5740a0 100644 --- a/FirebaseUI.podspec +++ b/FirebaseUI.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'FirebaseUI' - s.version = '12.1.1' + s.version = '12.2.0' s.summary = 'UI binding libraries for Firebase.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' From 489dc4450fd82f303a1cc957810eec9f98906fb4 Mon Sep 17 00:00:00 2001 From: Morgan Chen Date: Thu, 14 Apr 2022 14:14:37 -0700 Subject: [PATCH 2/4] fix header import and remove references to prerelease tag --- FirebaseAnonymousAuthUI.podspec | 2 +- FirebaseAuthUI.podspec | 2 +- FirebaseDatabaseUI.podspec | 2 +- FirebaseEmailAuthUI.podspec | 2 +- FirebaseFacebookAuthUI.podspec | 2 +- FirebaseFirestoreUI.podspec | 2 +- FirebaseGoogleAuthUI.podspec | 2 +- FirebaseOAuthUI.podspec | 2 +- FirebasePhoneAuthUI.podspec | 2 +- FirebaseStorageUI.podspec | 2 +- FirebaseUI.podspec | 2 +- samples/objc/FirebaseUI-demo-objc/FUIAppDelegate.m | 3 ++- 12 files changed, 13 insertions(+), 12 deletions(-) diff --git a/FirebaseAnonymousAuthUI.podspec b/FirebaseAnonymousAuthUI.podspec index 2a3d306e87c..b2aaf3c8c63 100644 --- a/FirebaseAnonymousAuthUI.podspec +++ b/FirebaseAnonymousAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'Provides anonymous auth support for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseAuthUI.podspec b/FirebaseAuthUI.podspec index 9871054952e..b88ed23b065 100644 --- a/FirebaseAuthUI.podspec +++ b/FirebaseAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'A prebuilt authentication UI flow for Firebase Auth.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseDatabaseUI.podspec b/FirebaseDatabaseUI.podspec index bf98c647de8..9598fbbbc27 100644 --- a/FirebaseDatabaseUI.podspec +++ b/FirebaseDatabaseUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'Prebuilt data sources and UI bindings for Firebase Database.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseEmailAuthUI.podspec b/FirebaseEmailAuthUI.podspec index 6f86ff49f32..e9f2f7540a6 100644 --- a/FirebaseEmailAuthUI.podspec +++ b/FirebaseEmailAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'An email authentication provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseFacebookAuthUI.podspec b/FirebaseFacebookAuthUI.podspec index 9436cbd2505..ab25b381acc 100644 --- a/FirebaseFacebookAuthUI.podspec +++ b/FirebaseFacebookAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'A Facebook auth provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseFirestoreUI.podspec b/FirebaseFirestoreUI.podspec index 385f06ca0d5..0bd20499bbc 100644 --- a/FirebaseFirestoreUI.podspec +++ b/FirebaseFirestoreUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'Data libraries and UI bindings for Firestore.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseGoogleAuthUI.podspec b/FirebaseGoogleAuthUI.podspec index 21699e73da5..b154340437d 100644 --- a/FirebaseGoogleAuthUI.podspec +++ b/FirebaseGoogleAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'Google authentication for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseOAuthUI.podspec b/FirebaseOAuthUI.podspec index 9b51a711578..f5701a74601 100644 --- a/FirebaseOAuthUI.podspec +++ b/FirebaseOAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'A collection of OAuth providers for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebasePhoneAuthUI.podspec b/FirebasePhoneAuthUI.podspec index 98d5511f4d9..d4d43944621 100644 --- a/FirebasePhoneAuthUI.podspec +++ b/FirebasePhoneAuthUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'A phone auth provider for FirebaseAuthUI.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseStorageUI.podspec b/FirebaseStorageUI.podspec index 2ca80e6fdb1..2695a190d4c 100644 --- a/FirebaseStorageUI.podspec +++ b/FirebaseStorageUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'UI binding libraries for Firebase.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/FirebaseUI.podspec b/FirebaseUI.podspec index 51abe5740a0..a350fed442e 100644 --- a/FirebaseUI.podspec +++ b/FirebaseUI.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.summary = 'UI binding libraries for Firebase.' s.homepage = 'https://github.com/firebase/FirebaseUI-iOS' s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } - s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'pre' + s.version.to_s} + s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s} s.author = 'Firebase' s.platform = :ios s.ios.deployment_target = '10.0' diff --git a/samples/objc/FirebaseUI-demo-objc/FUIAppDelegate.m b/samples/objc/FirebaseUI-demo-objc/FUIAppDelegate.m index 4b45cb8f811..4532cdd22f5 100644 --- a/samples/objc/FirebaseUI-demo-objc/FUIAppDelegate.m +++ b/samples/objc/FirebaseUI-demo-objc/FUIAppDelegate.m @@ -16,8 +16,9 @@ #import "FUIAppDelegate.h" -@import Firebase; +@import FirebaseCore; @import FirebaseAuthUI; +@import FirebaseDynamicLinks; @import FBSDKCoreKit; #import From f5214e1783a1c708ae76ed4df7786b6ccf49c8a8 Mon Sep 17 00:00:00 2001 From: Morgan Chen Date: Thu, 14 Apr 2022 14:19:09 -0700 Subject: [PATCH 3/4] bump Firebase dep in packages --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 7b5f11db0b4..e31536d4cbe 100644 --- a/Package.swift +++ b/Package.swift @@ -72,7 +72,7 @@ let package = Package( .package( name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", - from: "8.0.0" + from: "8.0.0"..<"10.0.0" ), .package( name: "GoogleSignIn", From d4ee46bec76b301dfe1f0878fa5c84d204bb4746 Mon Sep 17 00:00:00 2001 From: Morgan Chen Date: Thu, 14 Apr 2022 14:27:50 -0700 Subject: [PATCH 4/4] fix package syntax --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index e31536d4cbe..c56a5ba0884 100644 --- a/Package.swift +++ b/Package.swift @@ -72,7 +72,7 @@ let package = Package( .package( name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", - from: "8.0.0"..<"10.0.0" + "8.0.0"..<"10.0.0" ), .package( name: "GoogleSignIn",