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.
I think you're looking for XCODE_ATTRIBUTE_xxx
https://cmake.org/cmake/help/v3.4/prop_tgt/XCODE_ATTRIBUTE_an-attribute.html
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.