ID 416382 - Nuke executable (12.0v1) cannot be attached to Xcode debugger on OSX with SIP enabled.

Follow

Problem summary

Nuke executable (12.0v1) cannot be attached to Xcode debugger on OSX with SIP enabled.


Customer reported version
nuke.12.0v1


Customer reported platform
n_a_mac 10.14


Steps to reproduce

Prerequisites:

SIP Must be enabled. You can check this using `csrutil status` command.

Install Xcode 10 (10.2 or higher)


To Reproduce:

1) Launch Nuke.

2) Launch Xcode.

3) From Xcode attempt to attach to the running Nuke process.


Expected behaviour

Xcode should attach to the Nuke process successfully.


Actual behaviour
Xcode Error 1 Could not attach to pid : “xxxx”


Workaround

  • Turn off System Integrity Protection (SIP) on the OSX machine you wish to use to debug.
  • or, older versions of Xcode (pre-10.2?) may not check the entitlements before attaching. So downgrading Xcode might also work. Note that we have not tested this.


Reproduced by support
Reproduced by developers:

Nuke 12.0v1 - OSX 10.14 Using Xcode 10.3


Unable to reproduce:

Nuke 11.3v6 - OSX 10.14 Using Xcode 10.3 


Earliest version tested
Nuke 11.3v6 - This issue doesn't appear in this version and has regressed

      We're sorry to hear that

      Please tell us why