저는 osx 10.14를 실행 중이고 xcode를 제거하고 다시 설치하려고 합니다. 또한 안전 모드에서 다음을 시도했지만 똑같은 문제가 발생했습니다.
xcode.app을 휴지통으로 이동하고 마우스 오른쪽 버튼을 클릭하여 선택했습니다 delete immediately
. 하지만 프로젝트가 아직 사용 중이라는 메시지가 표시됩니다.
그런 다음 by를 제거하려고 하면 sudo rm -rf Xcode.app
다음과 같이 "디렉토리가 비어 있지 않습니다"라는 메시지가 나타납니다.
users-mac:~ User$ cd ./.Trash/
users-mac:.Trash User$ sudo rm -rf Xcode.app/
Password:
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/UsageBundles/MessagesUsagePreferencesPlugin.bundle/en_AU.lproj: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/UsageBundles/MessagesUsagePreferencesPlugin.bundle: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/UsageBundles: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform/Developer: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/WatchSimulator.platform: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FTClientServices.framework/fi.lproj: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FTClientServices.framework: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform: Directory not empty
rm: Xcode.app//Contents/Developer/Platforms: Directory not empty
rm: Xcode.app//Contents/Developer: Directory not empty
rm: Xcode.app//Contents: Directory not empty
rm: Xcode.app/: Directory not empty
users-mac:.Trash User$ ls -la Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/FTClientServices.framework/fi.lproj/
total 0
drwxr-xr-x 3 root wheel 96 Mar 9 02:06 .
drwxr-xr-x 3 root wheel 96 Mar 9 02:45 ..
users-mac:.Trash User$ ls -la Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/UsageBundles/MessagesUsagePreferencesPlugin.bundle/en_AU.lproj/
total 0
drwxr-xr-x 4 root wheel 128 Aug 27 2016 .
drwxr-xr-x 3 root wheel 96 Mar 8 23:04 ..
users-mac:.Trash User$