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.
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.