Informative for external dependencies without podspec #337

fabiopelosin opened this Issue Jun 14, 2012 · 0 comments


None yet

1 participant

CocoaPods member

Currently there is an unhandled exception if CP is not able to find the podspec file from and external source:

undefined method `exists?' for nil:NilClass
.../CocoaPods/lib/cocoapods/dependency.rb:140:in `specification_from_sandbox'
.../CocoaPods/lib/cocoapods/resolver.rb:44:in `find_cached_set'

A better error should be provided:

No pod spec found in the root of "". You'll need to specify a custom pod spec path with the :podspec option.

(@subdigital suggestion)

Related: #336, #335, #330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment