![디렉터리가 비어 있지 않기 때문에 "sudo rm -rf"를 사용해도 휴지통에서 Xcode.app을 영구적으로 삭제할 수 없습니까?](https://linux55.com/image/149643/%EB%94%94%EB%A0%89%ED%84%B0%EB%A6%AC%EA%B0%80%20%EB%B9%84%EC%96%B4%20%EC%9E%88%EC%A7%80%20%EC%95%8A%EA%B8%B0%20%EB%95%8C%EB%AC%B8%EC%97%90%20%22sudo%20rm%20-rf%22%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%B4%EB%8F%84%20%ED%9C%B4%EC%A7%80%ED%86%B5%EC%97%90%EC%84%9C%20Xcode.app%EC%9D%84%20%EC%98%81%EA%B5%AC%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%82%AD%EC%A0%9C%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EA%B9%8C%3F.png)
저는 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$