I want to use AES encryption/decryption using CryptoSwift library.
I used a library using pod. following pod I used.
pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift", :branch => "master"
After installing pod in a project when I compiled the project it's give number of errors.
CocoaPods could not find compatible versions for pod "CryptoSwift":
Please find below error, I saw when try to install pod in your project.
I found this error while pod install
in your demo project.
Solution
Remove pod 'CryptoSwift'
from your podfile, then do pod install
then again add pod 'CryptoSwift'
in your podfile and run pod install, it will work.
Your pod file will looks like this,
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'CryptoSwiftDemo' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'CryptoSwift'
# Pods for CryptoSwiftDemo
end