XCode has a number of built-in variables that are used for convenience in Build Settings, for example "$(PRODUCT_NAME)"
or "$(CURRENT_ARCH)"
.
Can I define my own variables? How / where?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…