CocoaPods/CocoaPods — Issue #141: Specifying a podspec which contains subspecs throws exception
Author: jdzak
Created: 2012-02-27 16:31:09+00:00
State: open

In the Podfile, when specifying a podspec[1] which contains subspecs[2] an exception is thrown.

[1]: dependency 'RestKit/Network', :podspec => "RestKit-Custom-0.9.3.podspec"
[2]: https://gist.github.com/1919448

ncs$ b pod install --verbose
Updating spec repo `master'
/usr/local/bin/git pull
Already up-to-date.
Installing dependencies of: /Users/jd/Code/ncs/Podfile
Depdendency: SBJson (= 2.2.3)
Depdendency: MBProgressHUD (= 0.41)
Depdendency: RestKit/Network (from `RestKit-Custom-0.9.3.podspec')
* Fetching podspec for `RestKit/Network' from: RestKit-Custom-0.9.3.podspec
No podspec exists at path `/Users/jd/Code/ncs/Pods/RestKit/Network.podspec'.
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/specification.rb:14:in `from_file'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/dependency.rb:97:in `specification'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/resolver.rb:39:in `find_dependency_set'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/resolver.rb:16:in `find_dependency_sets'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/resolver.rb:14:in `each'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/resolver.rb:14:in `find_dependency_sets'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/resolver.rb:9:in `resolve'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/installer.rb:7:in `dependent_specifications'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/installer.rb:11:in `build_specifications'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/installer.rb:57:in `install_dependencies!'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/installer.rb:75:in `install!'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/command/install.rb:44:in `run'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/lib/cocoapods/command.rb:53:in `run'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/gems/cocoapods-0.5.1/bin/pod:11
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/bin/pod:19:in `load'
/Users/jd/.rvm/gems/ree-1.8.7-2011.03@ncs/bin/pod:19