Skyscanner / SkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Apache License 2.0
4.09k stars 540 forks source link

Swift Version issue with CocoaPods #275

Closed Eccelor closed 5 years ago

Eccelor commented 5 years ago

Report

What did you do?

Tried installing SkyFloatingLabelTextField via CocoaPods

What did you expect to happen?

Pod should be installed.

What happened instead?

CocoaPods generated following error [!] Unable to determine Swift version for the following pods:

Environment

Xcode Version: Version 10.1 (10B61) SkyFloatingLabelTextField Version: 3.6.0 Deployment Target: 10.0 Base SDK: Method of Integration: CocoaPods

MrVlad001 commented 5 years ago

I found solution. Try to use 1.5.3 version of CocoaPods to install pod.

Eccelor commented 5 years ago

@MrVlad001 We're currently using 1.6.1

MrVlad001 commented 5 years ago

@Eccelor OK. Another solution. Try to create an empty swift file in the project.

Eccelor commented 5 years ago

@MrVlad001 That will be a work around. You cannot expect these many users to do that. Its just a simple fix on their part, mention the swift version they're using.

k0nserv commented 5 years ago

I've just released version 3.7.0 which if you use it with CocoaPods 1.7.0.rc1 should work well regardless of the verison of Swift you are using in your project.