In Xcode, I know that you can get variables such as PROJECT_DIR
to use in some situations, such as a run script build phase. I am wondering if it's possible to get the build type (i.e., Release or Debug). Any ideas?
相关问题
- (ASP.NET) Project file must include 'WindowsBa
- Xcode debugger displays incorrect values for varia
- Image loads in simulator but not device?
- importing files from other directories in xcode
- XCode Server: Opening import file for module '
相关文章
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
- didBeginContact:(SKPhysicsContact *)contact not in
-
The file “
.app” couldn’t be opened becaus - How do I set compatible devices to only ARKit comp
Here's a list of the environment variables. I think you might want
CURRENT_VARIANT
. See alsoBUILD_VARIANTS
.The best source is probably Apple's official documentation. The specific variable you are looking for is CONFIGURATION.