Xcode無法移除 - MAC

Jake avatar
By Jake
at 2012-04-12T03:17

Table of Contents

※ 引述《whatbb123 (灣灣)》之銘言:
: 爬了文章 說在終端機打入
: sudo /Developer/Library/uninstall-devtools --mode=all
首先,確認你有沒有打錯字

sudo /Developer/Library/uninstall-devtools

再來

打 open /Developer/ 確認你到底有沒有裝

然後進/Developer/Library看有沒有uninstall-devtools這個script

因為你的錯誤訊息就是沒有這script==

然後先看看你是哪個版本,至少我這版本我看到的是

###
The default value for 'mode' is 'all'.
###

也就是不用打後面參數就已經mode=all

<Xcode>的意思是說這是你安裝Xcode的資料夾的路徑(可能你自己有偷改路徑)

下面貼上uninstall-devtools的說明

####################################################################################################
#
# Copyright (c) 2002-2011 Apple, Inc.
# Xcode 4.2.1
#
# NAME
# uninstall-devtools -- Meta-script for running the various devtools uninstaller scripts.
#
# SYNOPSIS
# sudo /Developer/Library/uninstall-devtools --mode=all
# sudo /Developer/Library/uninstall-devtools --mode=xcodedir
# sudo /Developer/Library/uninstall-devtools --mode=unixdev
# sudo /Developer/Library/uninstall-devtools --mode=systemsupport
#
# Where the specified 'mode' value invokes the following devtools uninstaller scripts:
#
# all:
# /Library/Developer/Shared/uninstall-devtools
# /Library/Developer/4.2.1/uninstall-devtools
# /Developer/Library/uninstall-developer-folder
#
# xcodedir:
# /Developer/Library/uninstall-developer-folder
#
# unixdev:
# /Library/Developer/Shared/uninstall-devtools
#
# systemsupport:
# /Library/Developer/Shared/uninstall-devtools
# /Library/Developer/4.2.1/uninstall-devtools
#
# The default value for 'mode' is 'all'.
#
# DESCRIPTION
# This command runs the appropriate devtools uninstaller scripts according to the usage
# specified on the command line.
####################################################################################################
:wq

: 或是
: sudo <Xcode>/Library/uninstall-devtools --mode=all
: 就可以
: 但是我打了第一個指令 他說
: sudo: /Developer/Library/uninstall-devtools: command not found
: 嘗試第二個 結果得到
: -bash: Xcode: No such file or directory
: 怎樣都殺不掉 到底怎麼回事@@!

--
Tags: MAC

All Comments

Agatha avatar
By Agatha
at 2012-04-13T09:29
謝謝:)

請問一下爆音...

Ula avatar
By Ula
at 2012-04-12T01:22
大家好... 最近買了mbp 一個月左右了 用的滿習慣的 現在有一個問題滿困擾的 冰箱突然運轉的時候mac會有爆音(應該是喇叭發出來的) 然後冰箱停止運轉的那一剎那 也會有爆音 冰箱的插頭跟mac的插頭在不同的插座 我是外接喇叭...之前用pc的時候不會有 是同一組喇叭 不過如果只用mac不接喇 ...

Macbook pro late 2010 or 2011?

Callum avatar
By Callum
at 2012-04-12T01:21
以玩遊戲過來人的經驗 你還是考慮mba 不要mbp 理論上mba寫程式 應該很ok啦 當然版上說不定有較深入的研究 我只說完遊戲 不要用筆電玩遊戲 你會玩的整個很幹得 我第一次買mac 用小白 買多少忘了 但這部是重點 當時用小白 征戰wow mc bwl taq 黑暗神廟 打到北域時 還沒打副本 小 ...

Neverwinter Night 2 AppStore特價$0.99

Adele avatar
By Adele
at 2012-04-12T01:18
真的收到實體光碟了,還算是有誠意 沒圖沒真相 http://dl.dropbox.com/u/33271795/IMG_0468.jpg ※ 引述《vespasun (小天)》之銘言: : NWN2 現在回到架上了! : 請進到購買項目找!搜尋是搜不到的喔~ : 也就是說已購買的人們現在是可以 re-d ...

怎麼刪除桌面的.band檔案

Carolina Franco avatar
By Carolina Franco
at 2012-04-12T00:58
剛剛只是要測試而已 但是桌面上就多出了兩個 .band的檔案 而且無法刪除 請問該怎麼刪除了? 感謝~ - ...

改桌布的時候

Zanna avatar
By Zanna
at 2012-04-11T23:58
剛剛發現到的 有人注意到改桌布的時候 開啟反白後(Ctrl+Option+Command+8) 右邊會出現TEST DEBUG的按鈕嘛? 雖然不知道那幹嘛的== 如附圖:http://goo.gl/pR9ch 我是Lion 10.7.3~ - ...