Articles Manually authorize PAServer debugging permissions on MacOS by Matthew Versperman

emailx45

Местный
Регистрация
5 Май 2008
Сообщения
3,571
Реакции
2,439
Credits
574
Manually authorize PAServer debugging permissions on MacOS by Matthew Versperman
by Matthew Vesperman | 13-Oct-2018
[SHOWTOGROUPS=4,20]
On occasion you may get the following error when trying to run PAServer on MacOS.
Acquiring permission to support debugging...failed
You will be prompted for Developer Tools Access the next time you start a debug session
If this happens, and you do not get prompted to enter admin credentials, you will need to manually authorize PAServer’s debugging permissions. This is actually eaier than you might think, but will require you to use the terminal app. Simply follow the steps below. (Note that I am using the version of PAServer from Delphi 10.2.3 Tokyo).
  1. Change into the PAServer app folder using the following command:
    cd /Applications/PAServer-19.0.app/Contents/MacOS/
  2. Next set the owner of the dbkosx_xx_x (for 10.2.3 Tokyo this would be dbkosx_25_0) file to root:
  3. Finally set the permissions for the dbkosx_xx_x (for 10.2.3 Tokyo this would be dbkosx_25_0) file
    sudo chmod u+s,g+x dbkosx_25_0
That’s all there is to it. You should now be able to debug your apps on MacOS.

[/SHOWTOGROUPS]