Open nickvelloff opened 8 years ago
% pod spec which AsyncDisplayKit ~/Documents MacBook-Pro
/Users/nick/.cocoapods/repos/master/Specs/AsyncDisplayKit/1.9.80/AsyncDisplayKit.podspec.json
Interesting, can you please share the output of pod env
?
% pod env ~ Nicholass-MacBook-Pro
### Stack
CocoaPods : 1.0.1
Ruby : ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
RubyGems : 2.6.4
Host : Mac OS X 10.11.5 (15F34)
Xcode : 7.3 (7D175)
Git : git version 2.6.4 (Apple Git-63)
Ruby lib dir : /usr/local/Cellar/ruby/2.3.1/lib
Repositories : cythb - https://github.com/cythb/Specs.git @ b566b2949bc1335a7d24ec3d5dd007da11a11378
master - https://github.com/CocoaPods/Specs.git @ 0d3f921f15f0ea56a92a526fcdfa3d6b660250f0
the-grid - git@github.com:the-grid/public-podspecs.git @ cd59635be8bf81b58f7269d3766614005375f98e
### Installation Source
Executable Path: /usr/local/bin/pod
### Plugins
cocoapods-deintegrate : 1.0.0
cocoapods-playgrounds : 1.2.0
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.0.0
cocoapods-try : 1.0.0
OK one note... This is the second AsyncDisplayKit
playground install. First worked as expected.
Hm, that's weird — could you also share the Podfile
that was generated for the Playground?
use_frameworks!
target 'AsyncDisplayKitPlayground' do
pod 'AsyncDisplayKit', :path => '/Users/nicholasvelloff/Documents'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_B$
end
end
end
One more note: I have the AsyncDisplayKit
project cloned in the same directory I'm executing this. I have a fork of AsyncDisplayKit
I contribute with. Probably not related, but who knows...
Ah, yes, this is actually related — pod playgrounds
supports referencing local podspecs as well. So it found your local podspec and preferred that over the remote one.
Hmmmmm.... /Users/nicholasvelloff/Documents
doesn't have the spec.
/Users/nicholasvelloff/Documents/AsyncDisplayKit/AsyncDisplayKit.podspec
is the actual location
I see, its a lookup anomaly. Got it. 👍
Yah, it checks if the argument is a local path in the CWD, but not if it is actually a podspec — this should probably be improved :)
Cool 👍 Thanks for this BTW... saves me a lot of time.