ios Xcode 4:如何更改 ${EXECUTABLE_NAME} 变量的值?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9528679/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 17:07:50  来源:igfitidea点击:

Xcode 4: How to change ${EXECUTABLE_NAME} variable's value?

iosxcode

提问by Ahmed Said

I want to find where is ${EXECUTABLE_NAME} global variable defined in xcode 4.2

我想找到 xcode 4.2 中定义的 ${EXECUTABLE_NAME} 全局变量在哪里

回答by brigadir

[Your target] -> [Build settings] -> [Product name]

[您的目标] -> [构建设置] -> [产品名称]

回答by Fatih Aksu

Adding to above accurate answer

添加到上述准确答案

Edit: Targets -> [Your Target Name] -> Build Settings -> Packaging -> Product Name

编辑:目标 -> [您的目标名称] -> 构建设置 -> 包装 -> 产品名称

You can write specific String for Product Name or just copy $(TARGET_NAME) to make same name with '[Your Target Name]'

您可以为产品名称编写特定的字符串,也可以复制 $(TARGET_NAME) 以与“[您的目标名称]”相同的名称

So your Product Name will be: 'Your Target Name.app'

所以你的产品名称将是:“你的目标名称.app”

回答by catlan

It's possible to set EXECUTABLE_NAMEas user-defined setting.

可以设置EXECUTABLE_NAME为用户自定义设置。