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

Already on GitHub? Sign in to your account

Cocoapods cleans pod directory for external git podspec with subspecs #414

Closed
jeanregisser opened this Issue Jul 18, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

jeanregisser commented Jul 18, 2012

Hi,

I'm back with a bug with external subspecs ;)

I'm using an external git podspec which has subspecs and the following Podfile:

platform :ios

pod 'PivotalCoreKit/CoreLib', :git => 'git://github.com/jeanregisser/PivotalCoreKit.git'

Now, after a pod installthe Pods/PivotalCoreKitdirectory only contains the podspec and the README.

One workaround is to pass the --no-clean option or to add s.preserve_paths = 'CoreLib', 'UICoreLib', 'SpecHelperLib'to the podspec.

What's interesting is that this bug doesn't occur if I use the podspec from the official Specs repo.

I'm using CocoaPods 0.9.2

Owner

alloy commented Jul 19, 2012

I’ve located the problem, but the fix will have to wait till tomorrow.

@alloy alloy closed this in 7634571 Jul 23, 2012

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