CocoaPods / CocoaPods

The Cocoa Dependency Manager.
https://cocoapods.org/
Other
14.59k stars 2.64k forks source link

ArgumentError - Malformed version number string Scripts #2038

Closed fprosper closed 10 years ago

fprosper commented 10 years ago

Report

Simply run: pod outdated

The usual list of pod updates available

The following, thanks for any help.

Stack

   CocoaPods : 0.31.1
        Ruby : ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
    RubyGems : 2.0.3
        Host : Mac OS X 10.9.2 (13C64)
       Xcode : 5.1.1 (5B1008)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : AITOOLS - https://fprosperi@bitbucket.org/fprosperi/aitools.git @ c13382f401d36f550b9b976ed554b404a83c354f
               master - https://github.com/CocoaPods/Specs.git @ da74478ccc69fa9c4fe108d2a4671b7314393808

Podfile

platform :ios, '6.1'
workspace 'LisClick'
pod 'RATreeView'
pod 'UIAlertView-Blocks'
pod 'AITools'
pod 'KDropDownMultipleSelection', '~> 1.0.1'
pod 'LocalizationPOC', '~> 0.1'
pod 'SWRevealViewController', '~> 1.1.3'

Error

ArgumentError - Malformed version number string Scripts
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/vendor/version.rb:191:in `initialize'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/version.rb:62:in `initialize'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/source.rb:93:in `new'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/source.rb:93:in `block in versions'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/source.rb:93:in `map'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/source.rb:93:in `versions'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/specification/set.rb:154:in `block in versions_by_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/specification/set.rb:153:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/specification/set.rb:153:in `versions_by_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.31.1/lib/cocoapods-core/specification/set.rb:133:in `versions'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.31.1/lib/cocoapods/command/outdated.rb:35:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.31.1/lib/cocoapods/command/outdated.rb:32:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.31.1/lib/cocoapods/command/outdated.rb:32:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.5.0/lib/claide/command.rb:277:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.31.1/lib/cocoapods/command.rb:51:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.31.1/bin/pod:33:in `<top (required)>'
/Users/fabrizio/sbin/gems/bin/pod:23:in `load'
/Users/fabrizio/sbin/gems/bin/pod:23:in `<main>'
fabiopelosin commented 10 years ago

You likely have an unexpected Scripts dir in one of the repos.

fprosper commented 10 years ago

Thank you Fabio, indeed there was, now I removed it and got another error, but I will post it in a new issue since I reckon root cause is different.