Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

pod search crashed #504

Closed
mmower opened this Issue · 5 comments

2 participants

@mmower

Shaddam:tmp matt$ pod search parse

--> CoreParse (1.0.0)
A shift/reduce parsing framework for Mac OS X and iOS
- Homepage: https://github.com/beelsebob/CoreParse
- Source: https://github.com/beelsebob/CoreParse.git

--> ElementParser (0.0.1)
ElementParser is lightweight Cocoa Framework (usable on the iPhone) to provide
easy access to XML and HTML content.
- Homepage: http://touchtank.wordpress.com/element-parser/
- Source: https://github.com/Objective3/ElementParser.git

--> FSArgumentParser (0.0.1)
Totally awesome tool for parsing command line arguments in a declarative way.
- Homepage: https://github.com/NSError/ArgumentParser
- Source: https://github.com/NSError/ArgumentParser.git

--> MWFeedParser (0.0.1)
An Objective-C RSS / Atom Feed Parser for iOS
- Homepage: https://github.com/mwaterfall/MWFeedParser
- Source: https://github.com/mwaterfall/MWFeedParser.git

--> Objective-C-HMTL-Parser (0.0.1)
An objective c wrapper around libxml for parsing HTMLr
- Homepage: http://www.benreeves.co.uk
- Source: https://github.com/zootreeves/Objective-C-HMTL-Parser.git

--> Parse (1.0.36, 1.0.39)
The mobile app platform for developers
- Homepage: http://parse.com/
- Source: https://github.com/fictorial/Parse.git

      ――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Report

  • What did you do?

  • What did you expect to happen?

  • What happened instead?

Stack

   CocoaPods : 0.13.0
        Ruby : ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0]
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.1 (12B19)
       Xcode : 4.4.1 (4F1003)
Ruby lib dir : /Volumes/Corrino/matt/.rvm/rubies/ruby-1.9.3-p194/lib
Repositories : local - /Volumes/Corrino/matt/Projects/cocoapodspecs @ 5fe14089e06c449e836c137d9b484ce559d39ccc
               master - https://github.com/CocoaPods/Specs.git @ 96b627752ea05ff9b33c24dc7dfb21b310e56393

Error

undefined method `ios?' for #<Pod::Config:0x007fb295205a90>
/Volumes/Corrino/matt/.cocoapods/master/ParseKit/0.0.2/ParseKit.podspec:30:in `block in _eval_podspec'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/specification.rb:58:in `initialize'
/Volumes/Corrino/matt/.cocoapods/master/ParseKit/0.0.2/ParseKit.podspec:1:in `new'
/Volumes/Corrino/matt/.cocoapods/master/ParseKit/0.0.2/ParseKit.podspec:1:in `_eval_podspec'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/specification.rb:11:in `eval'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/specification.rb:11:in `_eval_podspec'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/specification.rb:27:in `from_file'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/specification/set.rb:48:in `specification'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/presenter/cocoa_pod.rb:28:in `spec'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/presenter/cocoa_pod.rb:44:in `summary'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/presenter.rb:23:in `describe'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/search.rb:27:in `block in run'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/search.rb:27:in `each'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command/search.rb:27:in `run'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/lib/cocoapods/command.rb:72:in `run'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.13.0/bin/pod:12:in `<top (required)>'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/bin/pod:19:in `load'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/bin/pod:19:in `<main>'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/Volumes/Corrino/matt/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

@alloy
Owner

Your checkout of the ‘master’ spec repo is out of date, the use of config.ios? and config.osx? has been removed.

You can use the following to update it: $ pod repo update master

@mmower

Thanks. Is this something I need to do often? Or what should tell me that I need to do this?

Umm... also:

Shaddam:Gen matt$ pod repo update master
Updating spec repo `master'
[!] Failed: /usr/local/bin/git pull
Shaddam:Gen matt$

I do have /usr/local/bin/git... not sure what this is telling me beyond "It didn't work".

@mmower

Okay using --verbose i've found the problem.

I have a local chance to a podspec, not sure why, and it didn't want to overwrite.

@mmower

Thanks. Updating the master repo seems to have fixed this problem.

I'm still left with an uneasy feeling that I've no idea how I would have arrived at the answer (pod repo update master) independently or that I know when I should run this other than "approximately whenever you run into trouble".

@alloy
Owner

I'm still left with an uneasy feeling that I've no idea how I would have arrived at the answer (pod repo update master) > independently or that I know when I should run this other than "approximately whenever you run into trouble".

Normally it’s done whenever you run pod install. But we should really print a more detailed error, explaining what might be the problem when an update fails (#505) and probably also re-instate the deprecated config.ios? and config.osx? methods to print an error about the spec repo being out of date (#506).

@alloy alloy closed this
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.