Xcode 9 - Could not attach to pid for Frameworks unit tests

前端 未结 6 570
Happy的楠姐
Happy的楠姐 2021-02-02 15:22

I am getting the following error after migrating from one mac to another using time machine.

Could not attach to pid

Ensure "project title"

6条回答
  •  北海茫月
    2021-02-02 16:06

    After opening a bug report to Apple, they suggested me to:

    • Check if my user is an Admin user. It was the case.
    • Check if I have "_developer" group, in the output of groups command. it was the case. Use this command: dscacheutil -q group
    • Check developer mode rights using the command sudo /usr/sbin/DevToolsSecurity -status. The status was unknown for me.
    • Enable developer mode rights if needed, using the command sudo /usr/sbin/DevToolsSecurity -enable. This solved finally my issue!

提交回复
热议问题