Skip to content
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

Fix deprecation warnings in PhoneAuthUI #1191

Open
paulb777 opened this issue Jun 8, 2024 · 0 comments
Open

Fix deprecation warnings in PhoneAuthUI #1191

paulb777 opened this issue Jun 8, 2024 · 0 comments

Comments

@paulb777
Copy link
Member

paulb777 commented Jun 8, 2024

After updating to iOS 13 minimum, several deprecations warnings show up. Fix the deprecations and remove the --allow-warnings from the phoneauth.yml pod job.

  • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:303:41: warning: 'statusBarFrame' is deprecated: first deprecated in iOS 13.0 - Use the statusBarManager property of the window scene instead. [-Wdeprecated-declarations]
    • NOTE | xcodebuild: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:131:38: note: 'statusBarFrame' has been explicitly marked deprecated here
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:307:11: warning: 'beginAnimations:context:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • NOTE | xcodebuild: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:655:1: note: 'beginAnimations:context:' has been explicitly marked deprecated here
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:310:11: warning: 'setAnimationDuration:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • NOTE | xcodebuild: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:660:1: note: 'setAnimationDuration:' has been explicitly marked deprecated here
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:311:11: warning: 'setAnimationCurve:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • NOTE | xcodebuild: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:663:1: note: 'setAnimationCurve:' has been explicitly marked deprecated here
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:318:11: warning: 'commitAnimations' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • NOTE | xcodebuild: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:656:1: note: 'commitAnimations' has been explicitly marked deprecated here
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:324:41: warning: 'statusBarFrame' is deprecated: first deprecated in iOS 13.0 - Use the statusBarManager property of the window scene instead. [-Wdeprecated-declarations]
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:327:11: warning: 'beginAnimations:context:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:330:11: warning: 'setAnimationDuration:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:331:11: warning: 'setAnimationCurve:' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
    • WARN | xcodebuild: /Users/runner/work/FirebaseUI-iOS/FirebaseUI-iOS/FirebasePhoneAuthUI/Sources/FUIPhoneVerificationViewController.m:336:11: warning: 'commitAnimations' is deprecated: first deprecated in iOS 13.0 - Use the block-based animation API instead [-Wdeprecated-declarations]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant