在build 过程中,要想观察所有已存在的环境变量,你可以在 Build Phases 中添加一个 “Run Script”,并勾选上 “Show environment variables in build log”。
PhaseScriptExecution Run\ Script /Users/home/Library/Developer/Xcode/DerivedData/SelfSizedCellByCodeExample-hcqrqdritrqaldddhuundxfypgvk/Build/Intermediates/SelfSizedCellByCodeExample.build/Debug-iphoneos/SelfSizedCellByCodeExample.build/Script-993355071C92B75C004569A0.sh |