Skip to main content

项目配置

基本概念

img

  • xcworkspace: xcodeproj 的集合
  • xcodeproj: 可以有多种 Build Configurations
  • target: 可以选择要编译的源文件、以及资源文件
  • scheme: 可以选择用哪一种 Build Configuration

编译配置:

  • 在 Build Settings 中指定 Info.plist 文件的路径
  • Info.plist - CFBundleIdentifier
  • Info.plist - CFBundleDisplayName
  • Info.plist - CFBundleIconName
  • Build Settings - Apple Clang - Preprocessing - Preprocessor Macros
  • Build Settings - Swift Compiler - Custom Flags - Other Swift Flags

默认的 Preprocessor Macros (Objective-C):

img

Other Swift Flags 的选项要用 -D 开头,它是传给 swiftc 的选项:

swiftc --help | grep -- -D

img

在 Build Settings - User Defined 增加一个字段 HOST_URL

img

然后通过 Info.plist 暴露出来给代码调用:

img

NSString *path = [NSBundle.mainBundle pathForResource:@"Info" ofType:@"plist"];
NSDictionary *infos = [NSDictionary dictionaryWithContentsOfFile:path];
NSLog(@"%@", infos[@"HOST_URL"]);

${} 变量是在 Xcode 构建阶段解析的,Xcode 会读取构建设置,并将 Info.plist 文件中的 ${} 变量替换为相应的值。

xcconfig

(推荐的项目配置方式)创建 xcconfig 文件:

img

CocoaPods 也是使用 xcconfig 来管理配置,引入了 pod 的项目,默认的 Configurations 为 pod 的 xcconfig。

当我们指定了自己定义的 xcconfig,为了不影响 pod 的使用,需要在我们自己的 xcconfig 中引入(如果忘了引入的话,在 pod install 的输出中也会有提示的):

#include "../Pods/Target Support Files/Pods-ocdemo/Pods-ocdemo.debug.xcconfig"

在 xcodeproj 里一个 target 只能指定一份 xcconfig 文件,不同的 target 有公共的部分可以抽取出来,用 include 的方式来引用:

#include "Base-Debug.xcconfig"

在 xcconfig 中定义的 key-value,不仅可以应用在 Build Settings,也可以被脚本读取到:

img

配置项举例及含义:

keyvaluemeanings
EXCLUDED_ARCHS[sdk=iphonesimulator*]arm64模拟器排除掉 arm64 架构
GCC_OPTIMIZATION_LEVEL-Os生成目标文件时的优化选项,见gcc
OTHER_LDFLAGS-Xlinker -S传 -S 参数给链接器(即终端 ld 命令,见 man ld
OTHER_LDFLAGS[arch=x86_64]-framework "AFNetworking"指定仅 x86_64 架构下链接的 framework
GCC_TREAT_WARNINGS_AS_ERRORSYES将警告当成错误

Build Settings

Build settings reference | Apple Developer Documentation

https://xcodebuildsettings.com/ 这里可以查询所有的编译设置项。

# xcworkspace
xcodebuild -workspace ocdemo.xcworkspace -scheme ocdemo -showBuildSettings -configuration Debug -destination id=00008110-000119080C42801E

# xcodeproj
xcodebuild -project machoinfo.xcodeproj -target machoinfo -showBuildSettings

# 找产物目录
xcodebuild -project MachOAndSymbol.xcodeproj -target MachOAndSymbol -showBuildSettings | grep -i "BUILD_DIR"
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace AGDemo.xcworkspace -scheme AGDemo -configuration Debug -showBuildSettings

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings for action build and target AGDemo:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALLOW_TARGET_PLATFORM_SPECIALIZATION = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = yianzhou
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
APPLY_RULES_IN_COPY_HEADERS = NO
ARCHS = arm64
ARCHS_STANDARD = arm64
ARCHS_STANDARD_32_64_BIT = armv7 arm64
ARCHS_STANDARD_32_BIT = armv7
ARCHS_STANDARD_64_BIT = arm64
ARCHS_STANDARD_INCLUDING_64_BIT = arm64
ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator driverkit iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products
BUILD_LIBRARY_FOR_DISTRIBUTION = NO
BUILD_ROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos
BUNDLE_CONTENTS_FOLDER_PATH_deep = Contents/
BUNDLE_EXECUTABLE_FOLDER_NAME_deep = MacOS
BUNDLE_EXTENSIONS_FOLDER_PATH = Extensions
BUNDLE_FORMAT = shallow
BUNDLE_FRAMEWORKS_FOLDER_PATH = Frameworks
BUNDLE_PLUGINS_FOLDER_PATH = PlugIns
BUNDLE_PRIVATE_HEADERS_FOLDER_PATH = PrivateHeaders
BUNDLE_PUBLIC_HEADERS_FOLDER_PATH = Headers
CACHE_ROOT = /var/folders/3j/bp8bymw927x29ntjxfrgf3qr0000gn/C/com.apple.DeveloperTools/14.0-14A309/Xcode
CCHROOT = /var/folders/3j/bp8bymw927x29ntjxfrgf3qr0000gn/C/com.apple.DeveloperTools/14.0-14A309/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
CLANG_CXX_LANGUAGE_STANDARD = gnu++14
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_ENABLE_OBJC_WEAK = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_DOCUMENTATION_COMMENTS = YES
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/AGDemo.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
CODE_SIGN_IDENTITY = iPhone Developer
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug
CONFIGURATION_BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos
CONFIGURATION_TEMP_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos
CONTENTS_FOLDER_PATH = AGDemo.app
CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO = AGDemo.app/Contents
CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES = AGDemo.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator16.0
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = arm64
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_DEXT_INSTALL_PATH = /System/Library/DriverExtensions
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 13.3 13.4 13.5 13.6 14.0 14.1 14.2 14.3 14.4 14.5 14.6 14.7 15.0 15.1 15.2 15.3 15.4 15.5 15.6 16.0
DERIVED_FILES_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/DerivedSources
DERIVED_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = en
DOCUMENTATION_FOLDER_PATH = AGDemo.app/en.lproj/Documentation
DONT_GENERATE_INFOPLIST_FILE = NO
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/AGDemo.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = AGDemo.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos
EAGER_LINKING = NO
EFFECTIVE_PLATFORM_NAME = -iphoneos
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_APP_SANDBOX = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_DEFAULT_SEARCH_PATHS = YES
ENABLE_HARDENED_RUNTIME = NO
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENABLE_TESTING_SEARCH_PATHS = NO
ENABLE_USER_SCRIPT_SANDBOXING = NO
ENTITLEMENTS_ALLOWED = YES
ENTITLEMENTS_DESTINATION = Signature
ENTITLEMENTS_REQUIRED = NO
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = AGDemo.app/Executables
EXECUTABLE_FOLDER_PATH = AGDemo.app
EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO = AGDemo.app/MacOS
EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES = AGDemo.app
EXECUTABLE_NAME = AGDemo
EXECUTABLE_PATH = AGDemo.app/AGDemo
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
EXTENSIONS_FOLDER_PATH = AGDemo.app/Extensions
FILE_LIST = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/FixedFiles
FRAMEWORKS_FOLDER_PATH = AGDemo.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = AGDemo.app
FUSE_BUILD_PHASES = YES
FUSE_BUILD_SCRIPT_PHASES = NO
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu11
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_THUMB_SUPPORT = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATED_MODULEMAP_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
GENERATE_INFOPLIST_FILE = NO
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = "/Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/Pods/Headers/Public" "/Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/Pods/Headers/Public/Masonry" "/Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/Pods/Headers/Public/SDWebImage"
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/yianzhou
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = AGDemo/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = AGDemo.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = AGDemo.app/en.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/AGDemo.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = yianzhou
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/AGDemo.dst
IPHONEOS_DEPLOYMENT_TARGET = 13.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = AGDemo.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KASAN_CFLAGS_CLASSIC = -DKASAN=1 -DKASAN_CLASSIC=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KASAN_CFLAGS_TBI = -DKASAN=1 -DKASAN_TBI=1 -fsanitize=kernel-hwaddress -mllvm -hwasan-recover=0 -mllvm -hwasan-instrument-atomics=0 -mllvm -hwasan-instrument-stack=1 -mllvm -hwasan-uar-retag-to-zero=1 -mllvm -hwasan-generate-tags-with-calls=1 -mllvm -hwasan-instrument-with-calls=1 -mllvm -hwasan-use-short-granules=0 -mllvm -hwasan-memory-access-callback-prefix=__asan_
KASAN_DEFAULT_CFLAGS = -DKASAN=1 -DKASAN_CLASSIC=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/Objects-normal/arm64/AGDemo_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/AGDemo-LinkMap-normal-arm64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = @executable_path/Frameworks
LD_RUNPATH_SEARCH_PATHS_YES = @loader_path/../Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Frameworks/Xcode3Core.framework/SharedSupport/Developer
LEX = lex
LIBRARY_DEXT_INSTALL_PATH = /Library/DriverExtensions
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = "/Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/Masonry" "/Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/SDWebImage"
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_arm64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LLVM_TARGET_TRIPLE_OS_VERSION = ios13.0
LLVM_TARGET_TRIPLE_VENDOR = apple
LOCALIZABLE_CONTENT_DIR =
LOCALIZATION_EXPORT_SUPPORTED = YES
LOCALIZED_RESOURCES_FOLDER_PATH = AGDemo.app/en.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFCopyLocalizedString
LOCALIZED_STRING_SWIFTUI_SUPPORT = YES
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 21G115
MAC_OS_X_VERSION_ACTUAL = 120600
MAC_OS_X_VERSION_MAJOR = 120000
MAC_OS_X_VERSION_MINOR = 120600
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/AGDemo.app
MODULES_FOLDER_PATH = AGDemo.app/Modules
MODULE_CACHE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE
MTL_FAST_MATH = YES
NATIVE_ARCH = x86_64
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJECT_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/Objects
OBJECT_FILE_DIR_normal = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/Objects-normal
OBJROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_LDFLAGS = -ObjC -l"Masonry" -l"SDWebImage" -framework "Foundation" -framework "ImageIO" -framework "UIKit"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/yianzhou/.yarn/bin:/Users/yianzhou/.config/yarn/global/node_modules/.bin:/Users/yianzhou/.rbenv/shims:/Users/yianzhou/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/yianzhou/Documents/flutter/bin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = AGDemo.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/PkgInfo
PKGINFO_PATH = AGDemo.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Frameworks/Xcode3Core.framework/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
PLATFORM_DISPLAY_NAME = iOS
PLATFORM_NAME = iphoneos
PLATFORM_PREFERRED_ARCH = undefined_arch
PLATFORM_PRODUCT_BUILD_VERSION = 20A360
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = AGDemo.app/PlugIns
PODS_BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products
PODS_CONFIGURATION_BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos
PODS_PODFILE_DIR_PATH = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/.
PODS_ROOT = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/XCFrameworkIntermediates
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = AGDemo.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.yianzhou.AGDemo
PRODUCT_BUNDLE_PACKAGE_TYPE = APPL
PRODUCT_MODULE_NAME = AGDemo
PRODUCT_NAME = AGDemo
PRODUCT_SETTINGS_PATH = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/AGDemo/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = AGDemo
PROJECT_DERIVED_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/DerivedSources
PROJECT_DIR = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo
PROJECT_FILE_PATH = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo/AGDemo.xcodeproj
PROJECT_NAME = AGDemo
PROJECT_TEMP_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build
PROJECT_TEMP_ROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex
PROVISIONING_PROFILE_REQUIRED = YES
PROVISIONING_PROFILE_REQUIRED_YES_YES = YES
PROVISIONING_PROFILE_SUPPORTED = YES
PUBLIC_HEADERS_FOLDER_PATH = AGDemo.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = AGDemo.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk
SDK_DIR_iphoneos16_0 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk
SDK_NAME = iphoneos16.0
SDK_NAMES = iphoneos16.0
SDK_PRODUCT_BUILD_VERSION = 20A360
SDK_VERSION = 16.0
SDK_VERSION_ACTUAL = 160000
SDK_VERSION_MAJOR = 160000
SDK_VERSION_MINOR = 160000
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHALLOW_BUNDLE_TRIPLE = ios
SHALLOW_BUNDLE_ios_macabi = NO
SHALLOW_BUNDLE_macos = NO
SHARED_DERIVED_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = AGDemo.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = AGDemo.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo
SRCROOT = /Users/yianzhou/Documents/megabox/examples/iOS/AGDemo
STRINGSDATA_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build/Objects-normal/arm64
STRINGSDATA_ROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build
STRINGS_FILE_INFOPLIST_RENAME = YES
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_MACCATALYST = NO
SUPPORTS_ON_DEMAND_RESOURCES = YES
SUPPORTS_TEXT_BASED_API = NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
SWIFT_EMIT_LOC_STRINGS = NO
SWIFT_OPTIMIZATION_LEVEL = -Onone
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_VERSION = 5.0
SYMROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DEXT_INSTALL_PATH = /System/Library/DriverExtensions
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_EXTENSIONS_FOLDER_PATH = AGDemo.app/SystemExtensions
SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO = AGDemo.app/Library/SystemExtensions
SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES = AGDemo.app/SystemExtensions
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_ENABLE_PROJECT_HEADERS = NO
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = AGDemo
TARGET_BUILD_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Products/Debug-iphoneos
TARGET_NAME = AGDemo
TARGET_TEMP_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build
TEMP_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build
TEMP_FILES_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build
TEMP_FILE_DIR = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex/AGDemo.build/Debug-iphoneos/AGDemo.build
TEMP_ROOT = /Users/yianzhou/Library/Developer/Xcode/DerivedData/AGDemo-ghtkemmfnuvqojffojnbwpkuuuvy/Build/Intermediates.noindex
TEST_FRAMEWORK_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/Developer/Library/Frameworks
TEST_LIBRARY_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = AGDemo.app
UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO = AGDemo.app/Resources
UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES = AGDemo.app
UNSTRIPPED_PRODUCT = NO
USER = yianzhou
USER_APPS_DIR = /Users/yianzhou/Applications
USER_LIBRARY_DIR = /Users/yianzhou/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
USE_LLVM_TARGET_TRIPLES = YES
USE_LLVM_TARGET_TRIPLES_FOR_CLANG = YES
USE_LLVM_TARGET_TRIPLES_FOR_LD = YES
USE_LLVM_TARGET_TRIPLES_FOR_TAPI = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
VALIDATE_PRODUCT = NO
VALID_ARCHS = arm64 arm64e armv7 armv7s
VERBOSE_PBXCP = NO
VERSIONPLIST_PATH = AGDemo.app/version.plist
VERSION_INFO_BUILDER = yianzhou
VERSION_INFO_FILE = AGDemo_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:AGDemo PROJECT:AGDemo-"
WRAPPER_EXTENSION = app
WRAPPER_NAME = AGDemo.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 14A309
XCODE_VERSION_ACTUAL = 1400
XCODE_VERSION_MAJOR = 1400
XCODE_VERSION_MINOR = 1400
XPCSERVICES_FOLDER_PATH = AGDemo.app/XPCServices
YACC = yacc
_WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO = /Contents
_WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO = /..
_WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO = /Resources
__IS_NOT_MACOS = YES
__IS_NOT_MACOS_macosx = NO
__IS_NOT_SIMULATOR = YES
__IS_NOT_SIMULATOR_simulator = NO
arch = arm64
variant = normal