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

x/mobile/app: warnings on compiling #50519

Open
hajimehoshi opened this issue Jan 9, 2022 · 0 comments
Open

x/mobile/app: warnings on compiling #50519

hajimehoshi opened this issue Jan 9, 2022 · 0 comments
Labels
mobile NeedsInvestigation
Milestone

Comments

@hajimehoshi
Copy link
Member

@hajimehoshi hajimehoshi commented Jan 9, 2022

I saw these warnings when compiling an iOS application with gomobile:

# golang.org/x/mobile/app
darwin_ios.m:89:74: warning: 'statusBarOrientation' is deprecated: first deprecated in iOS 13.0 - Use the interfaceOrientation property of the window scene instead. [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:146:55: note: property 'statusBarOrientation' is declared deprecated here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:146:55: note: 'statusBarOrientation' has been explicitly marked deprecated here
darwin_ios.m:97:75: warning: 'statusBarOrientation' is deprecated: first deprecated in iOS 13.0 - Use the interfaceOrientation property of the window scene instead. [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:146:55: note: property 'statusBarOrientation' is declared deprecated here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:146:55: note: 'statusBarOrientation' has been explicitly marked deprecated here
darwin_ios.m:140:77: warning: null passed to a callee that requires a non-null argument [-Wnonnull]

Gomobile version: 4a8be17bd2e3f4793a871839e766cbea7e999464

/CC @hyangah

@gopherbot gopherbot added the mobile label Jan 9, 2022
@gopherbot gopherbot added this to the Unreleased milestone Jan 9, 2022
@heschi heschi added the NeedsInvestigation label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile NeedsInvestigation
Projects
None yet
Development

No branches or pull requests

3 participants