I'm trying to use cocoapods to install crypto swift and am having trouble with what to place in the pod file.
I have tried:
pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift/tree/swift2", :branch => 'master'
And I get the error:
fatal: repository 'https://github.com/krzyzanowskim/CryptoSwift/tree/swift2/' not found
I'm not sure how to target the particular version needed. In the git instructions it states for Swift 2.2, 2.3: branch swift2 version <= 0.5.2. I can't seem how to target 0.5.2 syntactically, I also tried:
pod 'CryptoSwift', '<=0.5.2' :git => "https://github.com/krzyzanowskim/CryptoSwift", :branch => 'swift2'
and I got errors about unexpected commas.
The podfile string I am using for my CryptoSwift project (Swift 2.3) is the following:
pod 'CryptoSwift', '0.5.2'
This is working for me.