私は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$