-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FirebaseAuth - sharedApplication is unavailable #11537
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
@Glasi731 Thanks for the report. We'll investigate. The We are also missing regression tests for app extension builds. |
cc @renkelvin cc @pragatimodi |
Fixed by #11605 |
Check https://stackoverflow.com/questions/48122769 folks. |
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: