$ {EXECUTABLE_NAME}和$ {PRODUCT_NAME}的定义位置 [英] Where are ${EXECUTABLE_NAME} and ${PRODUCT_NAME} defined
问题描述
我在哪里可以找到有关如何修改这些的信息
Where can I find information on how to modify these
-
$ {EXECUTABLE_NAME}
-
$ {PRODUCT_NAME}
${EXECUTABLE_NAME}
${PRODUCT_NAME}
这些只显示在.plist文件中,但实际值在哪里。
These are only displayed in .plist file but where are the actual values.
如果我们可以直接修改.plist中我们想要的东西,为什么我们需要这些。
If we can directly modify what ever we want in .plist why we need these.
我是新手,这就是为什么我有理解这些问题的原因,我也查看了苹果信息属性列表的关键参考,但没有找到这些$ {}值。 / p>
I am new that's why I'm having problem understanding these, I also looked into apple information Property list key reference but didn't find these ${} values.
推荐答案
PRODUCT_NAME
在目标的中定义
。默认情况下,它与您的项目具有相同的名称。打包
部分中的构建设置
The PRODUCT_NAME
is defined in the target's Build Settings
in the Packaging
section. It has the same name by default as your project.
修改:
虽然 PRODUCT_NAME
默认为目标名称( MyDemoApp
在这种情况下)。 EXECUTABLE_NAME
是以下的串联:
While PRODUCT_NAME
is by default the name of the Target (MyDemoApp
in this case). The EXECUTABLE_NAME
is a concatenation of:
$ EXECUTABLE_PREFIX
, $ PRODUCT_NAME
和 $ EXECUTABLE_SUFFIX
。
查看参考 EXECUTABLE_NAME 了解详情。
新参考可以可在此处找到 http://help.apple.com/xcode/mac/8.3/ #/ itcaec37c2a6
The new reference can be found here http://help.apple.com/xcode/mac/8.3/#/itcaec37c2a6
EXECUTABLE_NAME
指定目标生成的二进制文件的名称。
EXECUTABLE_NAME
Specifies the name of the binary the target produces.
这篇关于$ {EXECUTABLE_NAME}和$ {PRODUCT_NAME}的定义位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!