Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
549 views
in Technique[技术] by (71.8m points)

iphone - Where are ${EXECUTABLE_NAME} and ${PRODUCT_NAME} defined

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

screenshot

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.

Update

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...