문제

Xcode will allow me to run my application as root (the "Debug Process As" option in the scheme allows you to select "Me" or "root"). How can I run it through the profiler as root?

I'm using Xcode 4.6.3.

도움이 되었습니까?

해결책

The solution is to run Instruments as root and attach to the process.

To run Instruments as root: sudo /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Ins‌​truments

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top