Skip to content

Commit

Permalink
Fix Xcode 16 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Oct 15, 2024
1 parent f9fd262 commit 7914ec7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion FirebaseAuthUI.podspec
Original file line number Diff line number Diff line change
@@ -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' }
Expand Down
11 changes: 0 additions & 11 deletions FirebaseAuthUI/Sources/FUIAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down
25 changes: 0 additions & 25 deletions FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuth.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7914ec7

Please sign in to comment.