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
An unexpected version directory GolfAppDataMgmt.xcdatamodeld
was encountered for the /Users/timonroe/.cocoapods/repos/DBCourse/DBCourse
Pod in the DBCourse
repository.
#3041
Comments
@timonroe I think there is some confusion as to what a spec repository is. It's a repository where just spec files are found (example), it doesn't store the source for any of your pods. You don't necessarily need a spec repository to install a private Pod, inside a Podfile you can reference any Pod by it's source, providing it has a pod spec in the root of the source. For example: pod 'QueryKit', :git => 'https://github.com/QueryKit/QueryKit' You can create a spec repository. This is handy when you have more than one private pod, and they may or may not depend on other private pods. It's a repository which stores Podspecs for multiple pods and each individual version. You would have a repository with a file structure which is something like the following:
With a private spec repository, you can access your Pods using this in a Podfile. For example using the following:
References: |
@kylef I'm creating Pods and then adding them to my CocoaPods installation (eg. /Users/timonroe/.cocoapods/repos/DBCourse ). |
As I said, you shouldn't be placing source files in a spec repository. A spec repository is a place for only the pod specifications. |
@kylef From the Private Pods document... |
@kylef Please reopen this issue. |
Hey @timonroe - this does not look like an issue with CocoaPods but your understanding of the parts of CocoaPods. A Specs repo is a collection of Podspecs ( see my Specs repo ). If you want to avoid using git for this, there are plugins for svn and mercurial. But there are proper places for these questions, and that is stack overflow. |
Hey @orta - thanks for the reply. I'm following the steps outlined in this document Private Pods. |
An example: You can create a shared folder in dropbox and There's an implicit expectation that it is a git repo (not a github one) so you could run a |
Thanks @orta... I appreciate the information. |
👍 |
@timonroe How did you solve this issue? |
@orta when I create private pod everthing is OK. I run 'pod spec lint' show "passed validation." |
@asasdasasd I'm am up against the exact same issue right now. On current and pre... ;( |
@cameronehrlich let me recall that moment, I just remember that error is that I forgot push the new file, maybe. |
I'm trying to create a Private Pod. The folder structure of my pod is:
Running 'pod repo add repo_name source_url' works fine and the repo is installed into ~/.cocoapods/repos/repo_name
Next, I run 'pod repo lint' and get the "An unexpected version directory ....." error.
I did some further testing and any folder name I use for the sub-folder under /DBCourse will cause this error.
The text was updated successfully, but these errors were encountered: