-
Notifications
You must be signed in to change notification settings - Fork 90
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-keys installation? #135
Comments
You should use Bundler it's built specifically for this purpose, here's the cocoapods guide on it: https://guides.cocoapods.org/using/a-gemfile.html |
So, other than the following for the gemfile, do I need to specify other gems? source 'https://rubygems.org' gem 'cocoapods' Actually the real question is how will that resolve the io-console issue. There is no longer any 0.4.3 version. And it seems that cocoapods-keys is asking for that version. (unless I'm mistaken) |
Oh, this is a CocoaPods Mac App issue, please take it over to there 👍 |
but otherwise, that would fix it by using bundler's system version of io-console I think |
I'm trying it out... however, just so I don't muck things up worse... what is the correct order or correct way to get cocoapods-keys 'known' by cocoapods as an active plugin? Obviously, just the gem install of cocoapods-keys (or the bundler equivalent) is not enough. The help on what the syntax of cocoapods plugins management is just 'pod plugins [command]', not as useful as I'd like. Thanks! If this also fails, I'll add it as an issue on the cocoapods app repository. |
CocoaPods will look inside all known gems in its environment at runtime for ones that are prefixed The commands jet:Buildasaur carl$ pod plugins install keys
Installing plugins: keys
[!] /Users/carl/Applications/CocoaPods.app/Contents/Resources/bundle/bin/gem install --no-document --env-shebang --file /var/folders/4l/snyzdyts5m9gb5zyz052rq780000gn/T/cocoapods-plugins-install-keys20160504-49536-1o8vbug
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: user requested 'io-console (= 0.4.3)' We've had problems before with this version 0.4.3 coming through on an install before but it seems to have re-appeared, are you using CP.app 1.0? |
This is supposed to be easy.... can't get bundler (at least the latest version) installed: Ok, Sorry, My Misunderstanding and typing too fast... bundler installed fine. It was when i typed bundle install that it failed... An error occurred while installing json (1.8.3), and Bundler cannot continue. jet:Buildasaur carl$ sudo gem install json:1.8.3 make "DESTDIR=" Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.3 for inspection. Does all this require the latest OS X (10.11) and Xcode 7.3 ?? I had trouble on my work machine running 10.11/7.3 so I'm trying it on my person machine which is still using 10.10/7.2 at the moment. Will upgrade if I need to, but was hoping not to do that in the middle of a sprint. ;-) I'm doing this on the command line... I will try it in the app to see if it makes any difference. pod --version |
Ok, probably not your (cocoapods-keys) issue and probably a cocoapods.app issue for this one. Even with the plugin installed, it still complains:
In the App, when I opened the Podfile in question, it gave me a nice window indicating that a plugin was required for this Podfile, and I selected "Install". When it was complete, I Then selected "Install" from the drop-down menu, (I presume 'pod install') and it gave me the same error again.
Clearly the app (and it's associated command line tools) don't know the plug-in is there.
display the plugin just fine as installed, but 'pod install' still gives the error
I will add that as an issue on the cocoapods.app page. |
Ok, on one of my 2 systems I got bundler installed and got past the 'bundle install' issue. % bundle exec pod plugins install keys ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError) |
Did you ever get past this? I'm seeing the same issue now. |
On one of my systems I finally got past it using beta version 5, but I On Thu, Jun 16, 2016 at 8:42 PM, Dov Frankel [email protected]
|
Facing the same problem, any updates? |
Has any solution been found? I'm also facing the same issue. |
@reststop @abbeycode just in case it may help, see my comment on issue 147. Good luck. |
Is there still no solution to this Problem? I am experiencing exactly the same. |
I solved it by adding |
It works for me. Thanks! |
Sorry to post this here, but searching the usual suspects has turned up not much, and most cocoapods info is so clear I can't believe I cannot find an answer....
Trying to setup a project cloned from github which uses the latest coccoapods app, and cocoapods-keys.
I've blown away all my old versions of cocoapods and installed the command line tools from the app.
version 1.0.0.rc.1 (also tried it with an earlier 0.5 beta with similar results)
jet:Buildasaur carl$ pod install
[!] Your Podfile requires that the plugin
cocoapods-keys
be installed. Please install it and try installation again.(previously installed with 'sudo gem install cocoapods-keys' which installed version 1.6.1)
Apparently that's not enough? Have to do a 'pod plugins install' as well? No clear directions.
jet:Buildasaur carl$ pod plugins install cocoapods-keys
Installing plugins: cocoapods-keys
[!] /Users/carl/Applications/CocoaPods.app/Contents/Resources/bundle/bin/gem install --no-document --env-shebang --file /var/folders/4l/snyzdyts5m9gb5zyz052rq780000gn/T/cocoapods-plugins-install-cocoapods-keys20160504-49525-1w1um82
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: user requested 'io-console (= 0.4.3)'
jet:Buildasaur carl$ pod plugins install keys
Installing plugins: keys
[!] /Users/carl/Applications/CocoaPods.app/Contents/Resources/bundle/bin/gem install --no-document --env-shebang --file /var/folders/4l/snyzdyts5m9gb5zyz052rq780000gn/T/cocoapods-plugins-install-keys20160504-49536-1o8vbug
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: user requested 'io-console (= 0.4.3)'
OK, something's up with io-console ...
jet:Buildasaur carl$ gem list io-console --remote --all
*** REMOTE GEMS ***
io-console (0.4.5, 0.4.2, 0.4.1, 0.3)
There is no currently available io-console (=0.4.3)
Help. I'm stuck. I can remove the cocoapods-keys entries from the Podfile, but eventually I'm going to need it I think.
The text was updated successfully, but these errors were encountered: