SAMKeychain icon indicating copy to clipboard operation
SAMKeychain copied to clipboard

[!] Unable to find a specification for `SAMKeychain`

Open cnowak7 opened this issue 9 years ago • 5 comments

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?

cnowak7 avatar Aug 01 '16 17:08 cnowak7

run "pod update"

TheLittleBoy avatar Aug 04 '16 09:08 TheLittleBoy

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

zebganzo avatar Aug 17 '16 03:08 zebganzo

I can resolve this by specifying the repository explicitly in the Podfile before running pod update

pod 'SAMKeychain', :git => 'https://github.com/soffes/SAMKeychain'

stevel6868 avatar Aug 23 '16 02:08 stevel6868

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

cnowak7 avatar Aug 23 '16 02:08 cnowak7

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

danielbowden avatar Sep 02 '16 15:09 danielbowden