How do you use Instruments with NativeScript on iOS?



I’m not able to use Instruments for iOS. When I try to profile (running in the Simulator) I keep getting the error:

“Target process is marked restricted, cannot be traced while System Integrity Protection is enabled.”

What is the secret sauce to use it?


TNS 3.4.2
Xcode 8.2.1
El Crapitan 10.11.6


I was able to profile on the device, but for some reason I was/am not able to profile running on the Simulator.