Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 643 Bytes

show-xcode-build-env-variable.md

File metadata and controls

14 lines (9 loc) · 643 Bytes

Show Xcode Build Env Variable

📓

Scenario:
Just found some environment variable in the build phase tab (or other tabs) in Xcode project setting and what do these variables mean?

Solution:
When we work with a workspace ,use the command xcrun xcodebuild -workspace XXXXX.xcworkspace -scheme XXXXX -showBuildSettings to show these variables.

Other than workspace, we use -project options with project like xcrun xcodebuild -project myProj.xcodeproj -target "myTarg" -showBuildSettings

Reference