본문 바로가기

IT Story/mac

[mac] XCode 삭제하기

OS X 10.9 Mavericks로 업그레이드 후 새로운 XCode삭제 전에 이전 버전을 삭제하는 방법이다.


sudo /Developer/Library/uninstall-devtools --mode=all



root-MacBook-Pro:lIBRARY root$ sudo /Developer/Library/uninstall-devtools --mode=all

Start time: 2013년 11월 27일 수요일 00시 30분 16초 KST

Analyzing devtools package: 'com.apple.pkg.ApplicationLoaderLeo'...

Analyzing devtools package: 'com.apple.pkg.DashcodeLeo'...

Analyzing devtools package: 'com.apple.pkg.DevDocumentationLeo'...

Analyzing devtools package: 'com.apple.pkg.DevSamplesLeo'...

Analyzing devtools package: 'com.apple.pkg.DevToolsDocumentationLeo'...

Analyzing devtools package: 'com.apple.pkg.DeveloperDiskImage4_3'...

Analyzing devtools package: 'com.apple.pkg.DeveloperDiskImage5_0'...

Analyzing devtools package: 'com.apple.pkg.DeveloperDiskImageReleased'...

Analyzing devtools package: 'com.apple.pkg.DeveloperToolsCLILeo'...

Analyzing devtools package: 'com.apple.pkg.DeveloperToolsLeo'...

Analyzing devtools package: 'com.apple.pkg.MacOSX10.6.Patch1Leo'...

Analyzing devtools package: 'com.apple.pkg.MacOSX10.6Leo'...

Analyzing devtools package: 'com.apple.pkg.MacOSX10.7Leo'...

Analyzing devtools package: 'com.apple.pkg.NetworkLinkConditionerLeo'...

Analyzing devtools package: 'com.apple.pkg.OpenGLAppsLeo'...

Analyzing devtools package: 'com.apple.pkg.OtherDevDocumentationLeo'...

Analyzing devtools package: 'com.apple.pkg.SourceControlLeo'...

Analyzing devtools package: 'com.apple.pkg.X11DocumentationLeo'...

Analyzing devtools package: 'com.apple.pkg.XcodeToolsLeo'...

Analyzing devtools package: 'com.apple.pkg.XcodeiPhonePluginsLeo'...

Analyzing devtools package: 'com.apple.pkg.clangLeo'...

Analyzing devtools package: 'com.apple.pkg.gcc4.2ADCDocsLeo'...

Analyzing devtools package: 'com.apple.pkg.gcc4.2Leo'...

Analyzing devtools package: 'com.apple.pkg.iPhoneDocumentation'...

Analyzing devtools package: 'com.apple.pkg.iPhoneHostSideTools'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK3_0'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK3_1'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK3_1_2'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK3_1_3'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK3_2'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK4_0'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK4_1'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK4_2'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK4_3'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDK5_0'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDKLionExtras'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDKSnowLeopardExtras'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSDKTools'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK3_2'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK4_0'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK4_1'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK4_2'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK4_3'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK4_3Patch1'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDK5_0'...

Analyzing devtools package: 'com.apple.pkg.iPhoneSimulatorSDKTools'...

Analyzing devtools package: 'com.apple.pkg.llvm-gcc4.2Leo'...

Removing devtools files...

Removing generated files...

Removing Xcode Caches...

find: /var/folders/8v/_zj8k3k97xs32w8g3cmqdrzw0000gn/C/com.apple.DeveloperTools: No such file or directory

Removing Xcode Documentation...

Removing empty devtools directories...

Finish time: 2013년 11월 27일 수요일 00시 32분 47초 KST

IMPORTANT: If you are going to install a previous version of the Developer Tools, be sure to restart the machine after installing.

root-MacBook-Pro:lIBRARY root$