Xcode無法移除 - MAC

By Jake
at 2012-04-12T03:17
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
: 怎樣都殺不掉 到底怎麼回事@@!
--
: 爬了文章 說在終端機打入
: 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

By Agatha
at 2012-04-13T09:29
at 2012-04-13T09:29
Related Posts
請問一下爆音...

By Ula
at 2012-04-12T01:22
at 2012-04-12T01:22
Macbook pro late 2010 or 2011?

By Callum
at 2012-04-12T01:21
at 2012-04-12T01:21
Neverwinter Night 2 AppStore特價$0.99

By Adele
at 2012-04-12T01:18
at 2012-04-12T01:18
怎麼刪除桌面的.band檔案

By Carolina Franco
at 2012-04-12T00:58
at 2012-04-12T00:58
改桌布的時候

By Zanna
at 2012-04-11T23:58
at 2012-04-11T23:58