简体   繁体   中英

Xcode: CURRENT_PROJECT_VERSION in product name

In Xcode 7, I would like the name of the product to be something like myapp.3.23 where myapp is the target name, 3 is the version and 23 is the build. I tried by setting the product name of my target to $TARGET_NAME.$CURRENT_PROJECT_VERSION (and also $(TARGET_NAME).$(CURRENT_PROJECT_VERSION) ) but only $TARGET seems to work. Any clue?

Edit: I am trying to do so from Xcode's Build settings panel, setting the desired value in the Packaging > Product name field.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM