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 iOS 10 warnings for language code #37

Closed
msmollin opened this issue Nov 21, 2017 · 2 comments
Closed

Fix iOS 10 warnings for language code #37

msmollin opened this issue Nov 21, 2017 · 2 comments

Comments

@msmollin
Copy link
Member

- WARN  | [Mapzen-ios-sdk/Core] xcodebuild:  OnTheRoad/OTRRouting/OTRRoutingController.m:65:56: warning: 'languageCode' is only available on iOS 10.0 or newer [-Wunguarded-availability]
@msmollin msmollin changed the title Fix iOS 10 warnings for language Fix iOS 10 warnings for language code Nov 21, 2017
@msmollin
Copy link
Member Author

Full warnings here:

 -> OnTheRoad (1.0.0)
    - WARN  | xcodebuild:  OnTheRoad/OTRRouting/OTRRoutingController.m:62:85: warning: 'languageCode' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - NOTE  | xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h:36:38: note: 'languageCode' has been explicitly marked partial here
    - NOTE  | xcodebuild:  OnTheRoad/OTRRouting/OTRRoutingController.m:62:85: note: enclose 'languageCode' in an @available check to silence this warning
    - WARN  | xcodebuild:  OnTheRoad/OTRRouting/OTRRoutingController.m:65:56: warning: 'languageCode' is only available on iOS 10.0 or newer [-Wunguarded-availability]
    - NOTE  | xcodebuild:  OnTheRoad/OTRRouting/OTRRoutingController.m:65:56: note: enclose 'languageCode' in an @available check to silence this warning

@msmollin
Copy link
Member Author

Fixed by #38

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