美文网首页
Xcode 配置常用变量(SRCROOT, PROJECT_DI

Xcode 配置常用变量(SRCROOT, PROJECT_DI

作者: lucifer_1911 | 来源:发表于2019-03-29 14:13 被阅读0次

:环境变量宏(Build Setting Macros)引用格式:${MACRO},同Build Phases Run Script中的语法。

PROJECT = HelloWorld

PROJECT_DIR=~/Projects/Learn Objective-C/HelloWorld

PROJECT_FILE_PATH =${PROJECT_DIR}/HelloWorld.xcodeproj

PROJECT_NAME = HelloWorld

SOURCE_ROOT =${PROJECT_DIR}

SRCROOT =${PROJECT_DIR}

SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk

SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk

SDK_NAME = macosx10.9

Xcode $(SRCROOT)和$(PROJECT_DIR)区别

相关文章

网友评论

      本文标题:Xcode 配置常用变量(SRCROOT, PROJECT_DI

      本文链接:https://www.haomeiwen.com/subject/udylbqtx.html