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
undefined method `exists?' for nil:NilClass when pod install #385
Comments
Why would you do
instead of simply
|
@siuying Becuase I want to use latest edge code. |
No, I believe pods do not work that way. :git is used for repo contains a podspec in the root folder in their repo. You must specify your own podspec, or adhoc include one similar to following: platform :ios
pod 'AFNetworking'
pod do |s|
s.name = "QBKOverlayMenuView"
s.version = "0.0.1"
s.summary = "UIView object that tries to mimic the behavior of the floating control used by Sparrow."
s.description = "It's basically an UIView object that tries to mimic the behavior of the floating control used by http://sparrowmailapp.com/iphone.php. The control appears at the bottom right corner of the screen and it unfolds a menu whenever it's touched."
s.homepage = "https://github.com/sendoa/QBKOverlayMenuView"
s.license = 'Permissive free software licence'
s.author = { "Sendoa Portuondo" => "sendoa@gmail.com" }
s.source = { :git => "https://github.com/sendoa/QBKOverlayMenuView.git", :commit => "4bc12661e781c5e1a5a568f72e2cf439ddb3a7ad" }
s.platform = :ios, '5.0'
s.source_files = 'Source'
s.resources = "Source/img/*.png"
s.preserve_paths = "LEEME.md"
s.framework = 'CoreGraphics'
s.requires_arc = true
end |
The error that @qichunren encountered appears if cocoapods can't find the podspec. See #338 |
Btw, @siuying comment is the best way to use the latest edge, for now. |
@irrationalfab Could you think about the convenient way to use the latest edge? Just like ruby Bundler. |
@irrationalfab if we could override/extend existing versioned pod then it would be great. |
See my current proposal in #392.
CocoaPods already works like Bundler the difference is that the majority of the projects don't have the podspec in their repo. |
caojinhua:ruby-china-ios caojinhua$ pod install
Updating spec repo `master'
Report
Stack
Podfile
Error
The text was updated successfully, but these errors were encountered: