The Swift2 migrations haven't appeared in CocoaPods yet, and if one does a pod spec lint on what's currently checked into http://github.com/natotySwiftCSV/SwiftCSV.podspec, you'll see these errors:
-> SwiftCSV (0.1.2)
- ERROR | Returned an unsuccessful exit code. You can use `--verbose` for more information.
- ERROR | SwiftCSV/SwiftCSV/CSV.swift:19:12: error: initializer for conditional binding must have Optional type, not 'String'
- ERROR | SwiftCSV/SwiftCSV/CSV.swift:49:35: error: 'enumerate' is unavailable: call the 'enumerate()' method on the sequence
- NOTE | Swift.enumerate:1:90: note: 'enumerate' has been explicitly marked unavailable here
- ERROR | SwiftCSV/SwiftCSV/CSV.swift:56:36: error: 'enumerate' is unavailable: call the 'enumerate()' method on the sequence
This pull request should fix the problem and get CocoaPods updated properly.
The Swift2 migrations haven't appeared in CocoaPods yet, and if one does a
pod spec lint
on what's currently checked into http://github.com/natotySwiftCSV/SwiftCSV.podspec, you'll see these errors:This pull request should fix the problem and get CocoaPods updated properly.