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

Update Swift 5 / Xcode 10.2 #66

Merged
merged 7 commits into from
Apr 23, 2019
Merged

Update Swift 5 / Xcode 10.2 #66

merged 7 commits into from
Apr 23, 2019

Conversation

cocojoe
Copy link
Member

@cocojoe cocojoe commented Apr 17, 2019

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

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
@cocojoe cocojoe added this to the vNext milestone Apr 17, 2019
@@ -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">
Copy link
Member Author

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 {
Copy link
Member Author

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'
Copy link
Member Author

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'
Copy link
Member Author

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
Copy link
Member Author

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.

@cocojoe cocojoe requested a review from hzalaz April 23, 2019 16:56
@cocojoe cocojoe merged commit 3a1ebd8 into master Apr 23, 2019
@cocojoe cocojoe deleted the update-swift5-xcode10.2 branch April 23, 2019 17:51
@cocojoe cocojoe mentioned this pull request Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants