1

The app in the App Store called "Cleaner for Xcode" displays the following warning message after trying to "clean". I understand it has to do with permissions, but not sure how to fix it. I'm also not sure how to get any support for this app nor contact the developer.

The error is:

"Need ~/Library/Developer permission to analyze and clean Xcode files"

I assume this means I need to give the app permissions to edit the Developer folder, but not sure how to do that.

2
  • I've found the app in Github and posting this question directly to the developer: github.com/waylybaye/XcodeCleaner-SwiftUI
    – Ryan
    Commented Mar 31, 2020 at 22:01
  • Try dragging a given folder to its Dock icon. That's one way to grant Sandbox access.
    – pkamb
    Commented Apr 1, 2020 at 7:05

4 Answers 4

1

You don't really need a separate app for cleaning Xcode files. I frequently do it manually, when the build logs are old, irrelevant. You can navigate to that ~/Library/Developer folder and remove what you don't like. Be careful not to remove UserData or you'll lose your preferences. I remove simulators because I don't need them.

I also set the iOS DeviceSupport folder as locked after cleaning it up, since it eats 2.5 GB for nothing.

0

When an app needs that kind of permission, it needs to provide you with a way to give that permission. Usually that means it shows you a file-open window, displaying the directory it needs permission for. You can allow or deny access at that point.

If an app needs this permission and doesn't provide a way to actually give it the permission, the app is buggy and you should contact the developer for help.

2
0

Looking at the code linked from @Ryan, it looks like the text appears all the time as a reminder - not as an error. If the analysis runs when you click Analyze then it's got permissions...

0

I hope you didn't pay any money for this app. At best, it's just an automation for deleting files in ~/Library/Developer, which can get swollen with cached files.

(As an Xcode user), you should easily be able to create a simple script that does the same thing.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .