如何在Xcode 4中为我的产品设置环境变量? [英] How do I set up environment variables for my product in Xcode 4?

查看:74
本文介绍了如何在Xcode 4中为我的产品设置环境变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近刚转移到Xcode 4,现在我一直在试图查找可执行文件(它曾经在Xcode 3的左窗格中),有人知道它在哪里吗?由于我试图添加新的环境变量来调试程序.预先谢谢你.

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.

推荐答案

您可以在方案编辑器(产品→编辑方案)中指定环境,在左栏中选择运行"选项,然后会在右边:

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:

这篇关于如何在Xcode 4中为我的产品设置环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆