This is a stupid question. The documentation says:
To enable debugging using Guard Malloc, choose the Run > Enable Guard Malloc option in Xcode before running your project. Building and running your application with this option enabled runs your application using the Guard Malloc library automatically. You can use this option both Mac OS X applications and also for iPhone applications running in the simulator.
http://developer.apple.com/library/ios/#documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html
So yea yea go to Run > Enable Guard Malloc. There is no Run menu!!!!!
The menus are Xcode File Edit View Navigate Editor Product Window Help
There is no Run menu. So what the hell I should do?
Go to your Schemes (via Product > Edit Scheme), then select the build configuration that you want, then navigate to the "Diagnostics" menu, and then check the "Enable Guard Malloc" checkbox:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With