简体   繁体   English

如何解决“开发人员工具访问需要控制另一个进程才能继续进行调试。” 在 Xcode 中?

[英]How do I fix “Developer tools access needs to take control of another process for debugging to continue.” in Xcode?

I'm aware that this question has been asked before but their solutions did not solve my problem.我知道之前有人问过这个问题,但他们的解决方案并没有解决我的问题。 Typing "DevToolsSecurity -enable" into console returned "Developer mode is already enabled," but the window keeps popping up.在控制台中输入“DevToolsSecurity -enable”返回“开发者模式已启用”,但 window 不断弹出。 I do not have an admin account on this computer so I cannot type in an admin username or password.我在这台计算机上没有管理员帐户,因此无法输入管理员用户名或密码。

I am running Xcode 10.2.1 with Mojave 10.14.5.我正在运行 Xcode 10.2.1 和 Mojave 10.14.5。

man DevToolsSecurity says: man DevToolsSecurity说:

DevToolsSecurity tool to change the authorization policies, such that a user who is a member of either the admin group or the _developer group does not need to enter an additional password to use the Apple-code-signed debugger or performance analysis tools.用于更改授权策略的DevToolsSecurity工具,这样作为 admin 组或 _developer 组成员的用户无需输入额外的密码即可使用 Apple 代码签名的调试器或性能分析工具。

So this tool only helps if you are in the admin or _developer groups.因此,此工具仅在您属于admin_developer组时才有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM