How do I set up environment variables for my produ

2019-02-19 06:19发布

问题:

I just recently move to Xcode 4, now I'm stuck trying to find the executable file (it used to be in the left pane of Xcode 3), anyone know where it is? Since I'm trying to adding a new environment variable to debug my program. Thank you in advance.

回答1:

You can specify the environment in the Scheme Editor (Product → Edit Scheme), select the Run option in the left column and you’ll see an Arguments tab on the right: