by favorited · 1w ago · 0 comments
Xcode isn't sandboxed, so by default it can read most of your FS without asking. However, it's trivial to demonstrate that Xcode does, in fact, need to request Files & Folders permissions to read from certain locations under ~/.
First, I ran `tccutil reset All com.apple.dt.Xcode` to clear out all Xcode TCC permissions. Then, I created a basic Xcode project and added a new "Run Script" build phase. For the script, I entered `ls ~/Downloads`, and pressed the Run button, which presented the standard prompt requesting ~/Downloads access for Xcode.
No comments yet.