filestack / filestack-ios

Official iOS SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
MIT License
54 stars 36 forks source link

CocoaPods v1.5.2 build is incorrectly using Swift 4.2? #39

Closed andrasmendik closed 5 years ago

andrasmendik commented 5 years ago

When using CocoaPods to install v1.5.1 of the Filestack pod I can build using Swift v4, but when using CocoaPods to install v1.5.2 of the Filestack pod, I am forced to use Swift v4.2? Surely this is a mistake as I don't see the Swift v4.2 updates in master?

pappApproved commented 5 years ago

My mistake. I didn't merge Swift 4.2 support branch to master. Apart from that you're not forced to use any swift version for your project as you can now set Swift Language Version for any pod project yourself - and it doesn't need to be the same as for the project.

screen shot 2018-10-16 at 14 36 28
andrasmendik commented 5 years ago

This is not true. Trying to build the Swift v4.2 specific code on v4.0 gives you build errors: image