bignerdranch / Freddy

A reusable framework for parsing JSON in Swift.
MIT License
1.09k stars 119 forks source link

Specify swift version for the Pod framework #208

Closed davidahouse closed 8 years ago

davidahouse commented 8 years ago

This PR allows for Freddy to be pulled in using cocoapods. Currently Cocoapods isn't setting the SWIFT_VERSION compiler setting to anything, so Freddy will not build. Looking at the current issues/PRs for cocoapods, it is unclear if they have a real solution to this or not. Ideally each pod should have a say into which swift version it supports. This change allows us to control the version from the podspec. We can revisit once cocoapods has a real solution for this problem.

davidahouse commented 8 years ago

This will fix issue #195

zwaldowski commented 8 years ago

See why :construction_worker: is upset.