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

Removed deprecated .swift-version file and added swift_version podspec. #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShaneQi
Copy link

@ShaneQi ShaneQi commented Jan 8, 2019

This fixes the problem that if the host project is using Swift 3, Xcode won't be able to compile KYDrawerController because it tries also use Swift 3 to compile KYDrawerController.

CocoaPods/CocoaPods#7134

Since Cocoapods 1.4.0, a pod can adopt new podspec swift_version, so that when pod install, the pod's target's build config will have the correct swift version settings instead of using the host app's setting.

The podspec file needs to be pushed to Cocoapods repo again.

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

Successfully merging this pull request may close these issues.

1 participant