Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest RestKit 0.10.3 podspec is broken #935

Closed
aneilbaboo opened this issue Apr 4, 2013 · 9 comments
Closed

Latest RestKit 0.10.3 podspec is broken #935

aneilbaboo opened this issue Apr 4, 2013 · 9 comments
Labels
t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Comments

@aneilbaboo
Copy link

I'm getting an error with the latest RestKit 0.10.3 podspec:
CocoaPods/Specs@f04831f#RestKit/0.10.3/RestKit.podspec

My Podfile contains:
pod 'RestKit', ' > 0.10.3'
pod 'RestKit/ObjectMapping', '
> 0.10.3'

The previous podspecs 244d0fc and f793998 are fine.

Here is the error:

$ pod install
Analyzing dependencies

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

Report

  • What did you do?
  • What did you expect to happen?
  • What happened instead?

Stack

   CocoaPods : 0.17.2
        Ruby : ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
    RubyGems : 2.0.3
        Host : Mac OS X 10.8.3 (12D78)
       Xcode : 4.6.1 (4H512)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 11b5b670036b8abd9f55cbd8d7df2b9780bf54b7

Podfile

platform :ios, '5.1'
pod 'RestKit', '0.10.3'
pod 'RestKit/ObjectMapping', '0.10.3'  

Error

ArgumentError - Malformed version number string 0.20.0-rc1
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/vendor/version.rb:189:in `initialize'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/vendor/dependency.rb:188:in `new'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/vendor/dependency.rb:188:in `match?'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification/set.rb:106:in `required_version'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification.rb:592:in `find'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification/set.rb:106:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification/set.rb:106:in `find'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification/set.rb:106:in `required_version'
/Library/Ruby/Gems/1.8/gems/cocoapods-core-0.17.2/lib/cocoapods-core/specification/set.rb:88:in `specification'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:157:in `find_dependency_specs'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/user_interface.rb:113:in `message'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:152:in `find_dependency_specs'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:148:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:148:in `find_dependency_specs'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:65:in `resolve'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/user_interface.rb:52:in `section'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:63:in `resolve'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:62:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/resolver.rb:62:in `resolve'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer/analyzer.rb:289:in `resolve_dependencies'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/user_interface.rb:52:in `section'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer/analyzer.rb:287:in `resolve_dependencies'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer/analyzer.rb:56:in `analyze'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer.rb:157:in `analyze'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer.rb:92:in `resolve_dependencies'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/user_interface.rb:52:in `section'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer.rb:91:in `resolve_dependencies'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/installer.rb:84:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/command/project.rb:40:in `run_install_with_update'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/command/project.rb:70:in `run'
/Library/Ruby/Gems/1.8/gems/claide-0.2.0/lib/claide.rb:535:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/lib/cocoapods/command.rb:36:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.17.2/bin/pod:16
/usr/bin/pod:23:in `load'
/usr/bin/pod:23

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

[!] Oh no, an error occurred.

Search for existing github issues similar to yours:
https://github.com/CocoaPods/CocoaPods/issues/search?q=Malformed+version+number+string+0.20.0-rc1

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new

Don't forget to anonymize any private data!

@alloy
Copy link
Member

alloy commented Apr 4, 2013

Fixed by CocoaPods/Core@4d26e36.

@alloy alloy closed this as completed Apr 4, 2013
@jamescmartinez
Copy link

@alloy How can I build with the latest Core?

@fabiopelosin
Copy link
Member

I have reverted the bad commit. Reopening because there is bug in CP.

@fabiopelosin fabiopelosin reopened this Apr 4, 2013
@jamescmartinez
Copy link

Got it, thanks.

@orta
Copy link
Member

orta commented Apr 4, 2013

Also, in this case the podfile is wrong, just include RestKit and it will bring in the ORM correctly instead of before where you had to also include the pod 'RestKit/ObjectMapping', '0.10.3' line

Before my changes you couldn't just do pod "RestKit", "0.10.3" as you had to work around it as you did above

@orta
Copy link
Member

orta commented Apr 4, 2013

( this change happened because we used to let subspecs inherit source paths but now don't )

@orta orta closed this as completed Apr 4, 2013
@aneilbaboo
Copy link
Author

Thanks - this fixed the problem for me.

@fabiopelosin
Copy link
Member

Still CP is broken with pre-release podspecs.

@fabiopelosin fabiopelosin reopened this Apr 5, 2013
@fabiopelosin
Copy link
Member

Proper support should have been added in CocoaPods/Core@41444b3.

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013
Fixes the "multiple build commands" warning for ZXing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Projects
None yet
Development

No branches or pull requests

5 participants