From 7914ec723df8feb379bfe72556410476bb1bdbe4 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Tue, 15 Oct 2024 10:44:55 -0700 Subject: [PATCH] Fix Xcode 16 build error --- FirebaseAuthUI.podspec | 2 +- FirebaseAuthUI/Sources/FUIAuth.m | 11 -------- .../Sources/Public/FirebaseAuthUI/FUIAuth.h | 25 ------------------- 3 files changed, 1 insertion(+), 37 deletions(-) diff --git a/FirebaseAuthUI.podspec b/FirebaseAuthUI.podspec index bd97e62aaf..4ed72cfd47 100644 --- a/FirebaseAuthUI.podspec +++ b/FirebaseAuthUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FirebaseAuthUI' - s.version = '14.2.4' + s.version = '14.2.5' 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' } diff --git a/FirebaseAuthUI/Sources/FUIAuth.m b/FirebaseAuthUI/Sources/FUIAuth.m index 7307ad57c5..abf9124032 100644 --- a/FirebaseAuthUI/Sources/FUIAuth.m +++ b/FirebaseAuthUI/Sources/FUIAuth.m @@ -352,17 +352,6 @@ - (void)invokeResultCallbackWithAuthDataResult:(nullable FIRAuthDataResult *)aut URL:(nullable NSURL *)url error:(nullable NSError *)error { dispatch_async(dispatch_get_main_queue(), ^{ - // Firebase 10 signatures. - if ([self.delegate respondsToSelector:@selector(authUI:didSignInWithAuthDataResult:URL:error:)]) { - [self.delegate authUI:self - didSignInWithAuthDataResult:authDataResult - URL:url - error:error]; - } - if ([self.delegate respondsToSelector:@selector(authUI:didSignInWithAuthDataResult:error:)]) { - [self.delegate authUI:self didSignInWithAuthDataResult:authDataResult error:error]; - } - // Firebase 11+ signatures. if ([self.delegate respondsToSelector:@selector(authUI:didSignInWith:URL:error:)]) { [self.delegate authUI:self didSignInWith:authDataResult URL:url error:error]; } diff --git a/FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuth.h b/FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuth.h index 19bddb2008..f7033b21a7 100644 --- a/FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuth.h +++ b/FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuth.h @@ -46,20 +46,6 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl @optional -/** @fn authUI:didSignInWithAuthDataResult:error: - @brief Message sent after the sign in process has completed to report the signed in user or - error encountered. Use this variation with Firebase 10 and earlier. - @param authUI The @c FUIAuth instance sending the message. - @param authDataResult The data result if the sign in attempt was successful. - @param url pass the deep link associated with an email link sign-in completion. It is useful - for the developer to access the state before the sign-in attempt was triggered. - @param error The error that occurred during sign in, if any. - */ -- (void)authUI:(FUIAuth *)authUI - didSignInWithAuthDataResult:(nullable FIRAuthDataResult *)authDataResult - URL:(nullable NSURL *)url - error:(nullable NSError *)error; - /** @fn authUI:didSignInWithAuthDataResult:error: @brief Message sent after the sign in process has completed to report the signed in user or error encountered. Use this variation with Firebase 11 and later. Swift implementations @@ -75,17 +61,6 @@ typedef void (^FUIAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullabl URL:(nullable NSURL *)url error:(nullable NSError *)error; -/** @fn authUI:didSignInWithAuthDataResult:error: - @brief Message sent after the sign in process has completed to report the signed in user or - error encountered. Use this variation with Firebase 10 and earlier. - @param authUI The @c FUIAuth instance sending the message. - @param authDataResult The data result if the sign in attempt was successful. - @param error The error that occurred during sign in, if any. - */ -- (void)authUI:(FUIAuth *)authUI - didSignInWithAuthDataResult:(nullable FIRAuthDataResult *)authDataResult - error:(nullable NSError *)error; - /** @fn authUI:didSignInWithAuthDataResult:error: @brief Message sent after the sign in process has completed to report the signed in user or error encountered. Use this variation with Firebase 11 and later. Swift implementations