Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Pod install fails with inline podspec #557

Closed
jdzak opened this Issue · 1 comment

2 participants

@jdzak

When I run pod install with a Podfile that includes an inline podspec for my library. It looks like cocoapods 0.14.0 searches for my library in the cocoapods repository, but fails because it doesn't exist. I don't have this issue in 0.13.0.

Command and Output

$ pod install
Updating spec repo `master'
[!] Unable to find a pod named `NUSurveyor'

Stack

   CocoaPods : 0.14.0
        Ruby : ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.8.0], MBARI 0x6770, Ruby Enterprise Edition 2011.03
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.2 (12C54)
       Xcode : 4.5 (4G182)
Ruby lib dir : /Users/me/.rvm/rubies/ree-1.8.7-2011.03/lib
Repositories : master - git://github.com/CocoaPods/Specs.git @ 88238dd40bf091bbc891f22f9dc1a497904b024c

Podfile

platform :ios, :deployment_target => "5.0"

pod 'SBJson', '2.2.3'
pod 'MBProgressHUD', '0.5'
pod 'RestKit', '0.10.2'

pod do |s|
  s.name = 'NUSurveyor'
  s.version = '1.0.2'
  s.platform = :ios
  s.requires_arc = true
  s.source = { :git => 'https://github.com/NUBIC/nu_surveyor.git', :tag => 'v1.0.2' }
  s.source_files = 'NUSurveyor/NUSurveyor-Prefix.pch', 'NUSurveyor/**/*.{h,m}', 'GRMustache/*.{h,m}' 
  s.frameworks = 'QuartzCore', 'CoreGraphics'
  s.preserve_paths = 'GRMustache'
  s.library = 'GRMustache1-ios4'
  s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '"$(SRCROOT)/Pods/NUSurveyor/GRMustache"' }

  s.prefix_header_file = 'NUSurveyor/NUSurveyor-Prefix.pch'
end


pod do |s|
  s.name = 'MRCEnumerable'
  s.version = '0.1'
  s.platform = :ios
  s.source = { :git => 'https://github.com/crafterm/MRCEnumerable.git', :commit => '15db6f3e48c5483d9635257511366864072ea016' }
  s.source_files = '*.{h,m}'
end
@fabiopelosin

This is a know issue, please see #549. Closing this one as a dupe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.