Post

Replies

Boosts

Views

Activity

Reply to Instruments: why? “Failed to gain authorization”
Workaround: Create a file called debug.plist. Put the following text in the new file: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>com.apple.security.get-task-allow</key><true/></dict></plist> Then, sign your app (or re-sign it) with the following shell (Terminal.app) command: $ codesign -s - -v -f --entitlements /path/to/debug.plist /path/to/your/executable
Nov ’21