Where can I find information on how to modify these
${EXECUTABLE_NAME}
${PRODUCT_NAME}
These are only displayed in .plist file but where are the actual values.
If we can directly modify what ever we want in .plist why we need these.
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.
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 is a build setting. One build setting can depend on another. So, you need a build setting that provides a value to the compiler such that it can influence your code. The Preprocessor Macros build setting does that. So, add a new macro such as PRODUCT_NAME=$(PRODUCT_NAME).
Go to Project -> Edit Project Settings -> Select Build tab -> look for productName in packaging category. Change it to what you want.
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.
Edit:
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
and $EXECUTABLE_SUFFIX
.
See the reference of EXECUTABLE_NAME for details.
The new reference can be found here http://help.apple.com/xcode/mac/8.3/#/itcaec37c2a6
EXECUTABLE_NAME
Specifies the name of the binary the target produces.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With