CocoaPods / cocoapods-deintegrate

A CocoaPods plugin to remove and de-integrate CocoaPods from your project.
MIT License
1.08k stars 48 forks source link

0.37.2: Unknown command 'deintegrate' #7

Closed jshier closed 8 years ago

jshier commented 9 years ago

So, I'm attempting to use deintegrate with CocoaPods 0.37.2 but pod never seems to see the command provided by the plugin. Other plugins, like keys, work fine. The gem install worked fine and I can see the gem installed in my rvm gemset. Am I missing something?

cocoapods-0.37.2
cocoapods-core-0.37.2
cocoapods-deintegrate-0.2.1
cocoapods-downloader-0.9.0
cocoapods-plugins-0.4.2
cocoapods-trunk-0.6.1
cocoapods-try-0.4.5
kylef commented 9 years ago

@jshier Can you confirm you're using the same installation of CocoaPods when invoked via pod as included by your rvm gemset. Just in case there is a system wide CocoaPods that is somehow being used when you invoke pod?

$ which pod
jshier commented 9 years ago

/Users/jshier/.rvm/gems/ruby-2.2.1@gemset/bin/pod

Deintegrate isn't in the bin directory but in the ruby-2.2.1@gemset/gems directory.

kylef commented 9 years ago

@jshier Can you show the output of pod plugins installed

jshier commented 9 years ago
Installed CocoaPods Plugins:
    - cocoapods-try     : 0.4.5
    - cocoapods-trunk   : 0.6.1
    - cocoapods-plugins : 0.4.2

Hmm, it's not seeing the cocoapods-keys install either, though I've successfully installed it in the past.

kylef commented 9 years ago

@jshier What about gem list (and also which gem just to confirm)

jshier commented 9 years ago
gem list

*** LOCAL GEMS ***

activesupport (4.2.2, 4.2.1)
addressable (2.3.8)
aws-sdk (2.0.45, 1.64.0)
aws-sdk-core (2.0.45)
aws-sdk-resources (2.0.45)
aws-sdk-v1 (1.64.0)
babosa (1.0.2)
bigdecimal (1.2.7, 1.2.4)
builder (3.2.2)
bundler (1.10.3)
bundler-unload (1.0.2)
capybara (2.4.4)
cert (0.2.1)
certified (1.0.0)
claide (0.8.1)
cliver (0.3.2)
cocoapods (0.37.2)
cocoapods-core (0.37.2)
cocoapods-deintegrate (0.2.1)
cocoapods-downloader (0.9.0)
cocoapods-keys (1.3.1)
cocoapods-plugins (0.4.2)
cocoapods-trunk (0.6.1)
cocoapods-try (0.4.5)
colored (1.2)
commander (4.3.4)
credentials_manager (0.6.0)
cupertino (1.3.4)
deliver (0.12.1, 0.12.0)
domain_name (0.5.24)
dotenv (2.0.1)
escape (0.0.4)
excon (0.45.3)
executable-hooks (1.3.2)
faraday (0.9.1, 0.8.9)
faraday_middleware (0.9.1)
fastimage (1.7.0, 1.6.8)
fastlane (1.4.0, 1.3.2)
fastlane_core (0.7.6)
frameit (2.0.1)
fuzzy_match (2.1.0, 2.0.4)
gem-wrappers (1.2.7)
highline (1.7.2)
http-cookie (1.0.2)
i18n (0.7.0)
io-console (0.4.2)
jmespath (1.0.2)
json (1.8.3, 1.8.1)
krausefx-shenzhen (0.14.3, 0.14.2)
mechanize (2.7.3, 2.5.1)
mime-types (2.6.1, 1.25.1)
mini_magick (4.2.4, 4.0.4)
mini_portile (0.6.2)
minitest (5.7.0, 4.7.5)
molinillo (0.2.3)
multi_json (1.11.1, 1.11.0)
multi_xml (0.5.5)
multipart-post (2.0.0, 1.2.0)
nap (0.8.0)
net-http-digest_auth (1.4)
net-http-persistent (2.9.4)
net-sftp (2.1.2)
net-ssh (2.9.2)
netrc (0.10.3, 0.7.8)
nokogiri (1.6.6.2)
ntlm-http (0.1.1)
osx_keychain (1.0.1)
pbxplorer (1.0.0)
pem (0.6.3)
phantomjs (1.9.8.0)
plist (3.1.0)
poltergeist (1.6.0, 1.5.1)
power_assert (0.2.3)
produce (0.3.1, 0.3.0, 0.2.1)
psych (2.0.13, 2.0.5)
rack (1.6.2, 1.6.1)
rack-test (0.6.3)
rake (10.4.2, 10.1.0)
rdoc (4.2.0, 4.1.0)
rubygems-bundler (1.4.4)
RubyInline (3.12.4)
rubyzip (1.1.7)
rvm (1.11.3.9)
security (0.1.3)
sigh (0.8.0, 0.6.0, 0.5.2)
slack-notifier (1.2.1)
snapshot (0.9.0)
spaceship (0.0.11, 0.0.10)
term-ansicolor (1.3.0, 1.0.7)
terminal-notifier (1.6.3)
terminal-table (1.4.5)
test-unit (3.0.9, 2.1.4.0)
thread_safe (0.3.5)
tins (1.5.1)
tzinfo (1.2.2)
unf (0.1.4)
unf_ext (0.0.7.1)
webrobots (0.1.1)
websocket-driver (0.5.4)
websocket-extensions (0.1.2)
xcodeproj (0.24.2)
xcpretty (0.1.10)
xpath (2.0.0)
ZenTest (4.11.0)
jshier$ which gem
/Users/jshier/.rvm/rubies/ruby-2.2.1/bin/gem
SteveNewhouse commented 9 years ago

I have the same issue

SteveNewhouse commented 9 years ago

Update: in my case, I forgot I had a Gemfile.. I added cocoapods-deintegrate to it, ran bundle install, and now it is working.

elberdev commented 9 years ago

Having the same issue: unrecognized command. Like jshier, deintegrate does not show as an installed plugin.

kylef commented 9 years ago

Did anyone figure this out?

Having the additional debugging information would be great:

$ pod plugins installed
$ pod --version
$ which pod
$ which gem
$ echo $GEM_HOME
$ echo $PATH
$ gem list
eRGoon commented 8 years ago

for me the problem appeared after updating to latest rubygems (2.5.0)

$ gem update --system 2.4.8

fixed it for me

segiddins commented 8 years ago

I'm going to close this, since the next release of CocoaPods will include deintegrate as a default plugin.