How to specify command line arguments in Xcode 4?

I just upgraded to Xcode 4 and can't find a lot of documentation on it, since it just became a master of gold. I need to specify a command line argument to test my application.

Xcode 3.2 tip doesn't help as everything is moved.

+81
xcode command-line-arguments
Feb 17 '11 at 5:05
source share
2 answers

Command line arguments and environment variables can be set in the Run section of the schematic editor.
Product → Change Schema ... → Run → Arguments (Copy-Paste from the link provided by Yano)

+133
Feb 28 2018-11-28T00:
source share

the cmd + < shortcut also works. (Default shortcut)

In Xcode 7 (updated)

Label: Shift + cmd + <

+19
Jan 20 '14 at
source share



All Articles