KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have some code in a project which should never be used in the release build, but is useful when testing. I'd like to do something like this: #ifdef DEBUG // Run my debugging only code #endif Where do I add the DEBUG setting in Xcode 4? I tried putting it in the "Edit Scheme" under Run MyApp->Arguments Passed On Launch, but it didn't work. Alternatively, is there a flag already available for this?
Tags (comma-separated)
Save Edits
Cancel