You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating our project to FirebaseAuth 10.12.0 we get compile errors. The project consists of an app and extensions for push notifications and widgets. Obviously [UIApplication sharedApplication] is not available in app extensions.
[...]//TOTP/FIRTOTPSecret.m:63:23 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
[...]/TOTP/FIRTOTPSecret.m:64:21 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
[...]/TOTP/FIRTOTPSecret.m:64:40 'openURL:options:completionHandler:' is unavailable: not available on iOS (App Extension)
Description
After updating our project to FirebaseAuth 10.12.0 we get compile errors. The project consists of an app and extensions for push notifications and widgets. Obviously
[UIApplication sharedApplication]
is not available in app extensions.[...]//TOTP/FIRTOTPSecret.m:63:23 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
[...]/TOTP/FIRTOTPSecret.m:64:21 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
[...]/TOTP/FIRTOTPSecret.m:64:40 'openURL:options:completionHandler:' is unavailable: not available on iOS (App Extension)
Reproducing the issue
No response
Firebase SDK Version
10.12.0
Xcode Version
14.3
Installation Method
CocoaPods
Firebase Product(s)
Analytics, Authentication, Crashlytics, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetThe text was updated successfully, but these errors were encountered: