Skip to content
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

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

Closed
jeanregisser opened this issue Jul 18, 2012 · 1 comment
Closed
Labels
t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!

Comments

@jeanregisser
Copy link
Contributor

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

@alloy
Copy link
Member

alloy commented Jul 19, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t2:defect These are known bugs. The issue should also contain steps to reproduce. PRs welcome!
Projects
None yet
Development

No branches or pull requests

2 participants