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
Xcode 4: How to change ${EXECUTABLE_NAME} variable's value?
提问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_NAME
as user-defined setting.
可以设置EXECUTABLE_NAME
为用户自定义设置。