xcode 参数变量

常用配置变量名

$(DerivedData) = /Users/username/Library/Developer/Xcode/DerivedData

变量名 描述
$(TARGET_NAME) 项目工程名称
$(SRCROOT) 工程文件的路径如 Demo.xcodeproj
$(CURRENT_PROJECT_VERSION) 当前工程版本号
$(BUILD_DIR) $(DerivedData)/Demo-xxxxx/Build/Products
$(BUILD_ROOT) $(DerivedData)/Demo-xxxxx/Build/Products
$(SYMROOT) $(DerivedData)/Demo-xxxxx/Build/Products

常用路径

Xcode自定义代码块的位置 ~/Library/Developer/Xcode/UserData/CodeSnippets 描述文件路径 ~/Library/MobileDevice/Provisioning Profiles Archives文件路径 ~/Library/Developer/Xcode/Archives

多版本xcode管理

xcode-select --print-path

/Applications/Xcode.app/Contents/Developer

@rpath @executable_path @loader_path

results matching ""

    No results matching ""