-
Notifications
You must be signed in to change notification settings - Fork 39
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
How to install CocoaPods plugin from local directory? #84
Comments
I try
and
result is:
|
I reccomend using a Gemfile, or running |
@segiddins |
I have a problem building and installing cocoapods plugins locally. For example, I've downloaded one of the official cocoapods plugins 'cocoapods-appledoc', then I build gem by running: |
The problem was in gem specification file. In all plugins that I've tried to build locally spec.files were set to 'git ls-files', but because all plugins were downloaded as archive and no git repository was set up, no files were built into gem. The solution is to fork and checkout plugin before building locally or set spec.files to Dir['lib/**/*'] so it refer to local files. |
create Example Project,new iterm session ,Test Build Plugin [sudo gem build cocoapods-xxx.gemspec && gem install xxx-Version.gem] |
It would be worth to install and test plugin on test project on local machine.
Is it possible?
The text was updated successfully, but these errors were encountered: