System asking for access to folder after every Xcode build

Hi !

I have a little annoyance. As the title suggests, system asking for access to folder after every Xcode build. I found this post on Stack Overflow unanswered: https://stackoverflow.com/questions/59952611/system-asking-for-access-to-folder-after-every-xcode-build

Someone here have a idea ?

Best :slight_smile:

2 Likes

I am v. interested in solving this as well ! – I’ve noticed that even through the app appears in security&privacy, when you recompile it you have do permissions again. I haven’t dug into this deeply but some responses to this question mention code signing. will investigate:

cc @theo

2 Likes

A new annoyance, the only way I was able to resolve the screen recording permissions issue, was to follow Apple’s macOS Signing guidelines. I used my Apple ID for the developer account and team and Automatic Signing:

2 Likes

I do not know why and how, but following the instructions of the two links it works well :wink:

Many thanks !

1 Like

one of my students had this issue and solved it by changing just one setting:

under project settings, under “Signing & Capabilities” tab, under “Signing Certificate”, select “Sign to Run Locally”