-
Notifications
You must be signed in to change notification settings - Fork 328
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
Swift 5.1 Support #204
Swift 5.1 Support #204
Conversation
@@ -1 +0,0 @@ | |||
5.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.
This file has been deprecated by CocoaPods.
@@ -19,5 +19,5 @@ Pod::Spec.new do |spec| | |||
spec.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(SRCROOT)/Down/Source/cmark/**' } | |||
spec.ios.resource = 'Resources/DownView.bundle' | |||
spec.osx.resource = 'Resources/DownView.bundle' | |||
spec.swift_version = "5.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.
This reflects additional CocoaPods evolution.
Codecov Report
@@ Coverage Diff @@
## master #204 +/- ##
=======================================
Coverage 32.59% 32.59%
=======================================
Files 74 74
Lines 2362 2362
=======================================
Hits 770 770
Misses 1592 1592 Continue to review full report at Codecov.
|
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.
I updated the example app project settings as well, thanks again @stevebaranski 💯
@iwasrobbed good catch - thank you! |
* Updated project for Swift 5.1 support * Updated xcconfig files & removed superfluous project overrides * [Example] Update example app settings Co-authored-by: rob phillips <rob@robphillips.me>
Summary
This pull request proposes a solution for #178, which requested that
Down
support Swift 5.1.Details
This PR consists of two commits:
.xcconfig
files were being overridden in the Xcode project configuration (i.e., Build Settings). I took the liberty to address this withSWIFT_VERSION
, then made similar changes forDEPLOYMENT_TARGET
. I also removed the watchOS references, as it doesn't appear that the framework supports that.Testing
The branch should build & tests should pass.