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

"Unable to find specification .." during pod install, but "pod spec which" succeeds #7

Closed
amorde opened this issue Jun 23, 2015 · 5 comments
Assignees

Comments

@amorde
Copy link
Contributor

amorde commented Jun 23, 2015

I might be doing this incorrectly, but I have added my repo successfully using pod repo-svn add and tested to see if cocoapods recognizes the template by running pod spec which MyPod

/Users/eric.amorde/.cocoapods/repos/private/Specs/MyPod/1.0.0/MyPod.podspec

But when trying a pod install on a project in which the Podfile declares MyPod as a dependency yields:

$ pod install
Analyzing dependencies
[!] Unable to find a specification for `MyPod`

The only thing I can think of is that at the top of the Podfile, I cannot add my repo as a source because cocoapods does not recognize that it is not a git repo and will fail.

@dustywusty
Copy link
Owner

Hey @amorde! What version of cocoapods are you using?

@amorde
Copy link
Contributor Author

amorde commented Jul 7, 2015

I was using 0.36 at the time, but have also used 0.37 and am now using 0.38.0.beta to test the new plugin api described here

I have a version of your plugin on my machine that supports the plugin 'cocoapods-repo-svn' syntax. If you're interested, I could clean it up and submit a PR. I was planning on making my own plugin that supports using local spec repos as sources in a Podfile

Also, I have since realized that it is indeed because I cannot use a local directory as a source in a Podfile. This is an issue with Cocoapods, not your plugin.

@dustywusty
Copy link
Owner

@amorde I really like the changes proposed in CocoaPods/CocoaPods#3792

And I always appreciate PRs! 🍰 🍰 🍰

@amorde
Copy link
Contributor Author

amorde commented Jul 9, 2015

Glad to hear it! If that PR makes it through, I'd be more than happy to implement it in this plugin and submit a PR

@amorde
Copy link
Contributor Author

amorde commented Jul 9, 2015

This issue likely isn't relevant anymore since it has to do with CocoaPods itself, so I'll close it.

@amorde amorde closed this as completed Jul 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants