[!] Unable to find a specification for `SAMKeychain`
I'm trying to incorporate this framework in my project. This is how I have my Pods file set up:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
target 'My App' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
use_frameworks!
pod 'Charts/Realm'
pod 'PageMenu'
pod 'SAMKeychain'
end
After trying to run "pod install", I get the following error in my Terminal:
[!] Unable to find a specification for
SAMKeychain
How do I fix this?
run "pod update"
Hi! I have the same problem. I tried to use SAMKeychai with pod 'SAMKeychain' and with s.dependency 'SAMKeychain' in my podspec file too, but the pod install/update failed everytime giving to me this error "[!] Unable to find a specification for SAMKeychain".
I can resolve this by specifying the repository explicitly in the Podfile before running pod update
pod 'SAMKeychain', :git => 'https://github.com/soffes/SAMKeychain'
I ran "pod update" and it ended giving me the same problem. I ended up solving my problem by just copying the source code files into my project. Cocoapods really knows how to test people's patience >:I
You should run
pod repo update
or
bundle exec pod repo update
As of CocoaPods 1.0, pod repo update does not happen on pod install by default so it's likely your source repo is out of date