How do you specify command line arguments in Xcode 4?

后端 未结 2 465
迷失自我
迷失自我 2020-12-04 09:05

I just upgraded to Xcode 4 and can\'t find much documentation on it yet, since it just went gold master. I need to specify a command line argument for testing my application

相关标签:
2条回答
  • 2020-12-04 09:23

    The shortcut cmd + < works too. (Default shortcut)

    On Xcode 7 (updated), XCode 10.1

    Shortcut : Shift + cmd + <

    0 讨论(0)
  • 2020-12-04 09:41

    Command line arguments and environment variables can be set up in the Run section of the scheme editor.
    Product -> Edit Scheme... -> Run -> Arguments (Copy-Paste from the link given by Jano)

    0 讨论(0)
提交回复
热议问题