-
Notifications
You must be signed in to change notification settings - Fork 76
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
Update Swift 5 / Xcode 10.2 #66
Conversation
Default Project to Swift 5 Update Xcode 10.2 Project Settings Update Gems Updated CI to Xcode 10.2 Update Minimum iOS Deployment to 9.0 / Cocoapods Dependency
@@ -0,0 +1,8 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apple recommends to add this file
@@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { | |||
|
|||
var window: UIWindow? | |||
|
|||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |||
internal func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swift 5 upgrade recommendations from compiler
@@ -13,7 +13,7 @@ Pod::Spec.new do |s| | |||
s.source = { :git => "https://github.com/auth0/SimpleKeychain.git", :tag => s.version.to_s } | |||
s.social_media_url = 'https://twitter.com/auth0' | |||
|
|||
s.ios.deployment_target = '7.0' | |||
s.ios.deployment_target = '9.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even 9 is old but inline with Auth0.swift
s.ios.deployment_target = '7.0' | ||
s.osx.deployment_target = '10.10' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.11' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline with Auth0.swift update, again kind of old
@@ -42,13 +42,6 @@ github "auth0/SimpleKeychain" | |||
|
|||
## Before Getting Started | |||
|
|||
### Objective-C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ObjC will go away in next major, starting to phase out.
Changes
Default Project to Swift 5
Update Xcode 10.2 Project Settings
Update Gems
Updated CI to Xcode 10.2
Update Minimum iOS Deployment to 9.0 / Cocoapods Dependency
Update Test Dependencies
References
N/A
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If helpful, please include manual testing steps as well.
[NA] This change adds unit test coverage (or why not)
[x] This change has been tested on the latest version of the platform/language or why not
Checklist
[x] I have read the Auth0 general contribution guidelines
[x] I have read the Auth0 Code of Conduct
[x] All existing and new tests complete without errors