How to Find a Specification in Cocoapods

Unable to find a specification in CocoaPods

Instead of:

s.source       = { :git => "git@github.com:myrepo/Podspecs.git", :branch => "xyz" }

Write this:
Don't forget the tag...

s.source       = { :git => "https://github.com/myrepo/Podspecs.git", :branch => "xyz",
:tag => s.version.to_s }

CocoaPods - Unable to find a specification for

NovemberFiveApplication-iOS is not a public CocoaPod. To install it you will need to add the repo: https://guides.cocoapods.org/making/private-cocoapods.html

November Five seem to be a business, with no open source repo. To use their SDK you will need to get the repo from them.

CocoaPods - Unable to find a specification for `GoogleMaps`

Try removing source 'https://github.com/CocoaPods/Specs.git' and moving use_frameworks! out of the target block. Moreover you don't need to manually set the git path for both Alamofire and MarqueeLabel.
Try this:

platform :ios, '9.0'
use_frameworks!

target 'Migapixel' do

pod 'GoogleMaps'
pod 'Alamofire'
pod 'MarqueeLabel/Swift'

# Pods for Migapixel
end

post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO' end end end

target 'MigapixelTests' do
inherit! :search_paths
end

target 'MigapixelUITests' do
inherit! :search_paths
# Pods for testing
end

Edit:

It seems that there's something wrong with your local repo.
Try cleaning and reinstalling:

pod repo remove master
pod setup

Cocoapods: Unable to find a specification for `PUBLIC POD` depended upon by 'PRIVATE POD'

Most likely you first have to add the private pod spec source (i.e. pods 'https://github.com/MY_GITHUB_USER/MyPrivateSpecs.git') source on top of the public pods source (source 'https://github.com/CocoaPods/Specs.git').

Cocoapods will first search and resolve dependencies from the private pods specs repository. If unsolved it will search and resolve dependencies in the public pod spec repository.



Related Topics



Leave a reply



Submit