All variables are prefixed with "$" to uniquely identify them on this page. Submitting updates to this page.
Description | Identifies the type of build to perform on the target. |
Type | String |
Values |
|
Default Value | build |
Description | Internal setting used by Xcode to determine if ad-hoc signing identities can be used. |
Type | Boolean |
Default Value | NO |
Description | The locations of any sparse SDKs that should be layered on top of the one specified by $(SDKROOT) . If more than one SDK is listed, the first one has highest precedence. Every SDK specified in this setting should be a "sparse" SDK, i.e. not an SDK for an entire OS X release. |
Type | String |
Default Value | empty string |
Description | The group name or gid for the files listed under the $(ALTERNATE_PERMISSIONS_FILES) setting. |
Type | String |
Default Value | $(INSTALL_GROUP) |
Description | Permissions used for the the files listed under the $(ALTERNATE_PERMISSIONS_FILES) setting. |
Type | String |
Default Value | $(INSTALL_MODE_FLAG) |
Description | The owner name or uid for the files listed under the $(ALTERNATE_PERMISSIONS_FILES) setting. |
Type | String |
Default Value | $(INSTALL_OWNER) |
Description | List of files to which the alternate owner, group and permissions are applied. |
Type | StringList |
Default Value | empty string |
Description | Specifies whether the compiler searches for headers in the project directory before searching system directories. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | |
Type | Boolean |
Values | |
Default Value |
Type | Path |
Default Value | $(APPLE_INTERNAL_DIR)/Developer |
Type | Path |
Default Value | /AppleInternal |
Type | Path |
Default Value | $(APPLE_INTERNAL_DIR)/Documentation |
Type | Path |
Default Value | $(APPLE_INTERNAL_DIR)/Library |
Type | Path |
Default Value | $(APPLE_INTERNAL_DEVELOPER_DIR)/Tools |
Description | When enabled, this causes the compiler and linker to disallow use of APIs that are not available to app extensions and to disallow linking to frameworks that have not been built with this setting enabled. If enabled, passes flag -fapplication-extension . |
Type | Boolean |
Default Value | NO |
Description | Files copied with a 'Copy Files Build Phase' are unchanged by default. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Space-separated list of identifiers. Specifies the architectures (ABIs, processor models) to which the binary is targeted. When this build setting specifies more than one architecture, the generated binary may contain object code for each of the specified architectures. |
Type | String |
Default Value | $(ARCHS_STANDARD) |
Example Value | x86_64 |
Description | Standard Architectures. |
Type | StringList |
Values |
|
Example Value | $(ARCHS_STANDARD_INCLUDING_64_BIT) |
Description | Universal (32/64-bit) |
Type | StringList |
Default Value | $(ARCHS_STANDARD_32_BIT) $(ARCHS_STANDARD_64_BIT) |
Example Value | i386 x86_64 |
Description | 32-bit Architecture |
Type | StringList |
Values |
|
Description | 64-bit Architecture |
Type | StringList |
Values |
|
Description | Standard Architectures, and 64-bit Architectures |
Type | StringList |
Values |
|
Description | Universal Architectures for iPhoneOS |
Type | StringList |
Values |
|
Description | Name of the asset catalog app icon set whose contents will be merged into the Info.plist. Passes flag --app-icon . |
Type | String |
Default Value | empty string |
Description | Name of the asset catalog launch image set whose contents will be merged into the Info.plist. Passes flag --launch-image . |
Type | String |
Default Value | empty string |
Description | Show notices encountered during the compilation of asset catalogs. Passes flag --notices . |
Type | Boolean |
Default Value | YES |
Description | Pass additional flags through to the asset catalog compiler. |
Type | StringList |
Default Value | empty string |
Description | Show warnings encountered during the compilation of asset catalogs. Passes flag --warnings . |
Type | Boolean |
Default Value | YES |
Description | Space-separated list of platform bundles installed in Xcode's Developer directory. |
Type | String |
Default Value | iphonesimulator macosx iphoneos |
Description | Space-separated list of identifiers. Specifies subsets of the product. |
Type | String |
Values |
|
Description | Alias for $(SYMROOT) |
Type | Path |
Default Value | $(SYMROOT) |
Description | Alias for $(SYMROOT) |
Type | Path |
Default Value | $(SYMROOT) |
Description | Name of current build style. |
Type | String |
Default Value | empty string |
Description | Space-separated list of identifiers. Specifies the binary variants of the product. You can create additional variant names for special purposes. For example, you can use the name of a build configuration as a variant name to create highly customized binaries. |
Type | String |
Values |
|
Default Value | normal |
Description | Identifies the directory under which all the product’s files can be found. This directory contains either product files or symbolic links to them. Run Script build phases can use the value of this build setting as a convenient way to refer to the product files built by one or more targets even when these files are scattered throughout a directory hierarchy (for example, when $(DEPLOYMENT_LOCATION) is set to YES). |
Type | Path |
Values |
|
Description | Passes flag -bundle_loader to the linker. |
Type | String |
Default Value | empty string |
Description | Alias for $(CCHROOT) . |
Type | Path |
Default Value | $(CCHROOT) |
Example Value | /var/folders/m5/j4zdc7f9157659_pd5p0_n980000gn/C/com.apple.DeveloperTools/6.2-6C131e/Xcode |
Description | The file used to cache build-time information that must persist between launches of the Xcode application. |
Type | Path |
Default Value | confstr('CS_DARWIN_USER_CACHE_DIR')/com.apple.DeveloperTools/$(XCODE_PRODUCT_VERSION)-$(XCODE_PRODUCT_BUILD_VERSION)/Xcode' |
Description | Path to chmod tool. |
Type | Path |
Default Value | /bin/chmod |
Description | Path to chown tool. |
Type | Path |
Default Value | /usr/sbin/chown |
Description | Enabling this setting allows non-modular includes to be used from within framework modules. This is inherently unsafe, as such headers might cause duplicate definitions when used by any client that imports both the framework and the non-modular includes themselves. If disabled, passes flags:
|
Type | Boolean |
Default Value | NO |
Description | Check for values stored to variables that are never read afterwards. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Check for misuses of Grand Central Dispatch API. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | See $(CLANG_ANALYZER_MEMORY_MANAGEMENT) . |
Type | Boolean |
Default Value | YES |
Description | Warn about memory leaks, use-after-free, as well as other API misuse. If disabled passes flags:
|
Type | Boolean |
Default Value | $(CLANG_ANALYZER_MALLOC) |
Description | Warn on nil pointers used as mutexes for @synchronized. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn if CF collections are created with non-pointer-size values. Check if NS collections are initialized with non-Objective-C type elements. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn about Objective-C method signatures with type incompatibilities. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn if functions accepting CFErrorRef or NSError cannot indicate if error occured. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn on leaks and improper reference count management. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Check that [super init] is properly called within an Objective-C initialization method. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn about private ivars that are never used. If disabled, passes flags:
|
Type | Boolean |
Default Value | YES |
Description | Warn on using a floating point value as a loop counter (CERT: FLP30-C, FLP30-CPP). If disabled, passes flags:
|
Type | Boolean |
Default Value | NO |
Description | Warn on uses of 'getpw' and 'gets'. The functions are dangerous as they may trigger a buffer overflow. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn on uses of 'mktemp', which produces predictable temporay files. It is obsoleted by 'mktemps'. Warn when 'mkstemp' is passed fewer than 6 X's in the format string. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn on uses of 'rand', 'random', and related functions which produce predictable random number sequences. Use arc4random instead. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn on uses of the 'strcpy' and 'strcat' functions, which can result in buffer overflows. Use 'strlcpy' or 'strlcat' instead. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn on uses of sensitive functions whose return values must be always checked. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn on uses of the 'vfork' function, which is inherently insecure. Use the safer 'posix_spawn' function instead. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Check for misuse of Keychain Services API. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Passes flag -ccc-arcmt-migrate |
Type | Path |
Default Value | empty string |
Description | If enabled, passes flag -arcmt-migrate-emit-errors |
Type | Boolean |
Default Value | NO |
Description | Used by Xcode's migration tool, do not edit. |
Type | Enumeration |
Values |
|
Default Value | donothing |
Description | Passes flag -arcmt-migrate-report-output |
Type | Path |
Default Value | empty string |
Description | If enabled passes flag -fcolor-diagnostics . Note: this flag does NOT impact PCH or compilation. The build system makes special efforts to ignore for dependency tracking. |
Type | Boolean |
Default Value | $(COLOR_DIAGNOSTICS) |
Description | Choose a standard or non-standard C++ language dialect. |
Type | Enumeration |
Values |
|
Default Value | compiler-default |
Description | Choose a version of the C++ standard library to use. |
Type | Enumeration |
Values |
|
Default Value | compiler-default |
Description | Toggles the amount of debug information emitted when debug symbols are enabled. This can impact the size of the generated debug information, which can matter in some cases for large projects (such as when using LTO). |
Type | Enumeration |
Values |
|
Default Value | default |
Description | If enabled, passes flag -fapplication-extension |
Type | Boolean |
Default Value | $(APPLICATION_EXTENSION_API_ONLY) |
Description | If enabled, passes flag -fmodules . |
Type | Boolean |
Default Value | NO |
Description | If enabled, passes flag -fmodule-implementation-of $(PRODUCT_MODULE_NAME) |
Type | Boolean |
Default Value | YES |
Description | If enabled, passes flag -fobjc-arc . |
Type | Boolean |
Default Value | YES |
Description | If enabled, passes flag -fprofile-instr-generate and -fprofile-instr-generate |
Type | Boolean |
Default Value | NO |
Description | If enabled, passes flag -fobjc-link-runtime . This option is passed for linking to inform the compiler that the ObjC runtime must be linked in (with possible backwards compatibility libraries linked in). |
Type | Boolean |
Default Value | YES |
Description | -fmacro-backtrace-limit=$(value) |
Type | Integer |
Default Value | 0 |
Description | If disabled, passes flag -fno-autolink . |
Type | Boolean |
Default Value | YES |
Description | If $(CLANG_ENABLE_MODULES) is enabled, passes flag -fmodules-ignore-macro=$(value) . |
Type | StringList |
Default Value | $(GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS) |
Description | If $(CLANG_ENABLE_MODULES) is enabled, if enabled passes flag -fmodules-validate-system-headers . |
Type | Boolean |
Default Value | NO |
Description | If not empty string: Passes flags -fbuild-session-timestamp=$(value) and -fmodules-validate-once-per-build-session |
Type | String |
Default Value | empty string |
Description | Passes flag -fmodules-cache-path=$(CLANG_MODULE_CACHE_PATH) if $(CLANG_ENABLE_MODULES) is enabled. |
Type | Path |
Default Value | $(MODULE_CACHE_DIR) |
Example Value | /Users/genica/Library/Developer/Xcode/DerivedData/ModuleCache |
Description | Passes flag -ccc-objcmt-migrate |
Type | Path |
Default Value | empty string |
Description | The path to the file of the profile data to use when 'Use Optimization Profile' is enabled. |
Type | Path |
Default Value | $(SRCROOT)/OptimizationProfiles/$(PROJECT_NAME).profdata |
Example Value | /Users/genica/MyProject/OptimizationProfiles/MyProject.profdata |
Description | If enabled, passes flag -fretain-comments-from-system-headers . Note: this flag impacts PCH. |
Type | Boolean |
Default Value | NO |
Description | The depth the static analyzer uses during the Build action. |
Type | Enumeration |
Values |
|
Default Value | shallow |
Description | The depth the static analyzer uses during the Analyze action. |
Type | Enumeration |
Values |
|
Default Value | deep |
Description | When this setting is enabled, clang will use the optimization profile collected for a target when building it. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about assigning integer constants to enum values that are out of the range of the enumerated type. If enabled, passes flag -Wassign-enum |
Type | Boolean |
Default Value | NO |
Description | Warn about implicit conversions to boolean values that are suspicious. For example, writing 'if (foo)' with 'foo' being the name a function will trigger a warning. |
Type | Boolean |
Values |
|
Default Value | $(CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION) |
Description | Warn about implicit conversions of constant values that cause the constant value to change, either through a loss of precision, or entirely in its meaning. |
Type | Boolean |
Values |
|
Default Value | $(CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION) |
Description | When compiling C++ code using a language standard older than C++11, warn about the use of C++11 extensions. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn if an Objective-C class either subclasses a deprecated class or overrides a method that has been marked deprecated. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about direct accesses to the Objective-C 'isa' pointer instead of using a runtime API. |
Type | Enumeration |
Values |
|
Default Value | YES_ERROR |
Description | Warns about issues in documentation comments (doxygen-style) such as missing or incorrect documentation tags. If enabled, passes flag: -Wdocumentation |
Type | Boolean |
Default Value | NO |
Description | Warn about loop bodies that are suspiciously empty. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about implicit conversions between different kinds of enum values. For example, this can catch issues when using the wrong enum flag as an argument to a function or method. |
Type | Boolean |
Values |
|
Default Value | $(CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION) |
Description | Warn about implicit integer conversions that change the signedness of an integer value. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about implicit conversions between pointers and integers. For example, this can catch issues when one incorrectly intermixes using NSNumber*'s and raw integers. |
Type | Boolean |
Values |
|
Default Value | $(CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION) |
Description | If enabled, passes flag -Wexplicit-ownership-type |
Type | Boolean |
Default Value | NO |
Description | Warn about @property declarations that are implicitly atomic. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about implicit retains of 'self' within blocks, which can create a retain-cycle. If enabled, passes flag -Wimplicit-retain-self |
Type | Boolean |
Default Value | NO |
Description | If enabled, passes flag -Wobjc-missing-property-synthesis |
Type | Boolean |
Default Value | NO |
Description | Warn about sending messages to Objective-C pointers that are __weak . This aids in avoiding situations (e.g., race conditions) when the last strong reference goes away and a client is messaging a __weak pointer that can suddenly (and unexpectedly) become nil. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about repeatedly using a weak reference without assigning the weak reference to a strong reference. This is often symptomatic of a race condition where the weak reference can become nil between accesses, resulting in unexpected behavior. Assigning to temporary strong reference ensures the object stays alive during the related accesses. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about classes that unintentionally do not subclass a root class (such as NSObject). |
Type | Enumeration |
Values |
|
Default Value | YES_ERROR |
Description | Warn about various implicit conversions that can lose information or are otherwise suspicious. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warns about potentially unreachable code. If enabled, passes flag -Wunreachable-code |
Type | Boolean |
Default Value | NO |
Description | If disabled, passes flag -Wno-arc-bridge-casts-disallowed-in-nonarc |
Type | Boolean |
Default Value | YES |
Description | Warn about declaring the same method more than once within the same @interface. If enabled, passes flag -Wduplicate-method-match |
Type | Boolean |
Default Value | YES |
Description | Warn about destructors for C++ objects that are called when an application is terminating. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Enables the use of extended vector instructions. Only used when targeting Intel architectures. Passes flag -m$(value) if not set to default . |
Type | Enumeration |
Values |
|
Default Value | $(DEFAULT_SSE_LEVEL_4_2_$(GCC_ENABLE_SSE42_EXTENSIONS)) |
Example Value | default |
Description | Specifies the name of the application’s entitlements property-list file. |
Type | String |
Default Value | empty string |
Example Value | Entitlements.plist |
Description | Specifies the name of a code signing identity. |
Type | String |
Default Value | - |
Description | Identifies a property-list file containing resource-scanning instructions that override the rules for identifying bundle resources to sign. |
Type | Path |
Default Value | empty string |
Example Value | ResourceRules.plist |
Type | Boolean |
Default Value | NO |
Description | Combines image files at different resolutions into one multi-page TIFF file that is HiDPI compliant for Mac OS X 10.7 and later. Only image files in the same directory and with the same base name and extension are combined. The file names must conform to the naming convention used in HiDPI. |
Type | Boolean |
Default Value | NO |
Description | Path to directory where Xcode creates a composited SDK of all SDKs used by a target. |
Type | PathList |
Default Value | $(CACHE_ROOT)/CompositeSDKs |
Example Value | /var/folders/m5/j4zdc7f9157659_pd5p0_n980000gn/C/com.apple.DeveloperTools/6.2-6C131e/Xcode/CompositeSDKs |
Description | Specifies whether to compress PNG files that are resources of the active target as they are copied to the application bundle. This applies only to iOS applications. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Identifies the build configuration (for example, Debug or Release) the target uses to generate the product. |
Type | String |
Values |
|
Description | Identifies the directory under which all build-related files for the active build configuration are placed. |
Type | Path |
Default Value | $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) |
Example Value | /Users/genica/MyProject/build/Debug |
Description | Identifies the directory that holds temporary files for the active build configuration. |
Type | Path |
Default Value | $(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug |
Description | Passes flag -preserve-hfs-data |
Type | Boolean |
Default Value | NO |
Description | Passes flag -strip-debug-symbols |
Type | Boolean |
Default Value | YES |
Description | Path to the cp tool. |
Type | Path |
Default Value | /bin/cp |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME).hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject.hmap |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME)-all-non-framework-target-headers.hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-all-non-framework-target-headers.hmap |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME)-all-target-headers.hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-all-target-headers.hmap |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME)-generated-files.hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-generated-files.hmap |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME)-own-target-headers.hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-own-target-headers.hmap |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME)-project-headers.hmap |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-project-headers.hmap |
Type | Path |
Default Value | $(PROJECT_TEMP_DIR)/all-product-headers.yaml |
Example Value | /Users/genica/MyProject/build/MyProject.build/all-product-headers.yaml |
Type | Path |
Default Value | $(TEMP_DIR)/$(PRODUCT_NAME).hdrs |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject.hdrs |
Description | If a section should be added to the Mach-O binary header for an embedded Info.plist |
Type | Boolean |
Default Value | NO |
Description | Identifies the architecture on which the build is being performed. |
Type | String |
Example Value | x86_64 |
Description | This setting defines the the current version of the project. The value must be a integer or floating point number like 57 or 365.8. |
Type | String |
Default Value | empty string |
Description | Identifies the build variant being processed. |
Type | String |
Values |
|
Description | Activating this setting causes the -dead_strip flag to be passed to ld(1) via cc(1) to turn on dead code stripping. If this option is selected, -gfull (not -gused) must be used to generate debugging symbols in order to have them correctly stripped. Passes flag -dead_strip |
Type | Boolean |
Default Value | NO |
Description | Identifies the format used to store the binary’s debug information. |
Type | String |
Values |
|
Default Value | dwarf |
Description | This is assigned from the target platform. |
Type | String |
Default Value | empty string |
Description | This value is assigned by the target platform. |
Type | String |
Default Value | $(SYSTEM_KEXT_INSTALL_PATH) |
Type | String |
Default Value | default |
Type | String |
Default Value | sse3 |
Type | String |
Default Value | $(DEFAULT_SSE_LEVEL_3_$(GCC_ENABLE_SSE3_EXTENSIONS)) |
Example Value | default |
Type | String |
Default Value | ssse3 |
Type | String |
Default Value | $(DEFAULT_SSE_LEVEL_3_SUPPLEMENTAL_$(GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS)) |
Type | String |
Default Value | sse4.1 |
Type | String |
Default Value | $(DEFAULT_SSE_LEVEL_4_1_$(GCC_ENABLE_SSE41_EXTENSIONS)) |
Type | String |
Default Value | sse4.2 |
Description | If enabled, the product will be treated as defining its own module. This enables automatic production of LLVM module map files when appropriate, and allows the product to be imported as a module. |
Type | Boolean |
Default Value | NO |
Description | Specifies whether product files are placed in the installation or the build directory. |
Type | Boolean |
Values |
|
Default Value |
|
Description | Specifies whether the binary receives deployment postprocessing. Deployment postprocessing involves stripping the binary, and setting its file mode, owner, and group. |
Type | Boolean |
Values |
|
Default Value |
|
Description | Identifies the directory into which derived source files—such as those generated by lex and yacc—are placed. |
Type | Path |
Default Value | $(TEMP_DIR)/DerivedSources |
Description | See $(DERIVED_FILE_DIR) |
Type | Path |
Default Value | $(DERIVED_FILE_DIR) |
Description | See $(DERIVED_FILE_DIR) |
Type | Path |
Default Value | $(DERIVED_FILE_DIR) |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications |
Type | Path |
Default Value | $(DEVELOPER_DIR)/usr/bin |
Example Value | /Applications/Xcode.app/Contents/Developer/usr/bin |
Type | Path |
Default Value | xcode-select -p |
Example Value | /Applications/Xcode.app/Contents/Developer |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Library/Frameworks |
Example Value | /Applications/Xcode.app/Contents/Developer/Library/Frameworks |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Library/Frameworks |
Example Value | /Applications/Xcode.app/Contents/Developer/Library/Frameworks |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Library |
Example Value | /Applications/Xcode.app/Contents/Developer/Library |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Platforms/MacOSX.platform/Developer/SDKs |
Example Value | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Tools |
Example Value | /Applications/Xcode.app/Contents/Developer/Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/usr |
Example Value | /Applications/Xcode.app/Contents/Developer/usr |
Description | Identifies the directory into which the product is placed. In this directory, the product is laid out exactly as it would be installed in a user’s filesystem. |
Type | Path |
Default Value | /tmp/$(PROJECT_NAME).dst |
Example Value | /tmp/MyProject.dst |
Description | Path to default toolchain. |
Type | Path |
Default Value | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain |
Description | Specifies the compatibility version of a dynamic library product. See Dynamic Library Design Guidelines in Dynamic Library Programming Topics for details on assigning version numbers of dynamic libraries. |
Type | String |
Default Value | empty string |
Description | Specifies the current version of a dynamic library product. See "Dynamic Library Design Guidelines" in Dynamic Library Programming Topics for details on assigning version numbers of dynamic libraries. |
Type | String |
Default Value | empty string |
Description | Sets the base value for the internal "install path" $(LC_ID_DYLIB) in a dynamic library. This will be combined with the $(EXECUTABLE_PATH) to form the full install path. Setting $(LD_DYLIB_INSTALL_NAME) directly will override this setting. This setting defaults to the target's $(INSTALL_PATH) . It is ignored when building any product other than a dynamic library. |
Type | StringList |
Default Value | empty string |
Description | Name of target platform. |
Type | String |
Values |
|
Description | Enable this setting to indicate that content embedded in a target's product contains Swift code, so that the standard Swift libraries can be included in the product. See also 1 and 2. |
Type | Boolean |
Default Value | NO |
Description | Name of the embedded provisioning profile file. |
Type | String |
Default Value | empty string |
Example Value | embedded.provisionprofile |
Description | If enabled, passes flag -fapple-kext |
Type | Boolean |
Default Value | NO |
Description | Specifies whether data gathered from header-file scans is used in the build process. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Controls whether assertion logic provided by NSAssert is included in the preprocessed source code or is elided during preprocessing. Disabling assertions can improve code performance. If disabled, passes flag -DNS_BLOCK_ASSERTIONS=1 |
Type | Boolean |
Default Value | YES |
Description | Controls whether objc_msgSend calls must be cast to the appropriate function pointer type before being called. If enabled, passes flag -DOBJC_OLD_DISPATCH_PROTOTYPES=0 |
Type | Boolean |
Default Value | NO |
Description | Space-separated list of subdirectories to exclude. |
Type | StringList |
Default Value | .DS_Store .svn .git .hg CVS |
Description | Space-separated list of subdirectories to exclude. |
Type | StringList |
Default Value | *.nib *.lproj *.framework *.gch *.xcode* (*) .DS_Store CVS .svn .git .hg |
Description | This is the extension used for the executable product generated by the target, which has a default value based on the product type. |
Type | String |
Default Value | empty string |
Description | This is the prefix used for the executable product generated by the target, which has a default value based on the product type. |
Type | String |
Default Value | empty string |
Description | This is the suffix used for the executable product generated by the target, which has a default value based on the product type. |
Type | String |
Default Value | empty string |
Description | This is the suffix (based on $(CURRENT_VARIANT) ) used for the executable product generated by the target, which has a default value based on the product type. |
Type | String |
Default Value | empty string |
Description | This is a project-relative path to a file that lists the symbols to export. Passes flag -exported_symbols_list |
Type | Path |
Default Value | empty string |
Type | Path |
Default Value | $(OBJECT_FILE_DIR)/LinkFileList |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/Objects/LinkFileList |
Description | Space-separated list of directory paths. Specifies directories in which the compiler searches for frameworks to find included header files. You may specify a recursive path by appending ** to the path. When this build setting is defined, $(SDKROOT) is added to the end of the path list that is passed to the compiler. |
Type | PathList |
Default Value | empty string |
Example Value |
|
Description | Version identifier of a framework. |
Type | String |
Default Value | A |
Description | GCC version. |
Type | String |
Default Value | 3.3 |
Description | Enabling this setting causes 'char' to be unsigned by default, disabling it causes 'char' to be signed by default. If enabled, passes flag -funsigned-char |
Type | Boolean |
Default Value | NO |
Description | Enable the CodeWarrior/Microsoft syntax for inline assembly code in addition to the standard GCC syntax. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Choose a standard or non-standard C language dialect. |
Type | Enumeration |
Values |
|
Default Value | compiler-default |
Description | Debug information file format. |
Type | Enumeration |
Values |
|
Default Value | $(DEBUG_INFORMATION_FORMAT) |
Description | Faster function calls for applications. Not appropriate for shared libraries (which need to be position-independent). |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Controls whether 'asm', 'inline', and 'typeof' are treated as keywords or whether they can be used as identifiers. If disabled, passes flag -fno-asm |
Type | Boolean |
Default Value | YES |
Description | Controls whether built-in functions that do not begin with __builtin_ as prefix are recognized. GCC normally generates special code to handle certain built-in functions more efficiently; for instance, calls to "alloca" may become single instructions that adjust the stack directly, and calls to "memcpy" may become inline copy loops. The resulting code is often both smaller and faster, but since the function calls no longer appear as such, you cannot set a breakpoint on those calls, nor can you change the behavior of the functions by linking with a different library. In addition, when a function is recognized as a built-in function, GCC may use information about that function to warn about problems with calls to that function, or to generate more efficient code, even if the resulting code still contains calls to that function. For example, warnings are given with -Wformat for bad calls to "printf", when "printf" is built in, and "strlen" is known not to modify global memory. If disabled, passes flag -fno-builtin |
Type | Boolean |
Default Value | YES |
Description | Enable C++ exception handling. Generates extra code needed to propagate exceptions. For some targets, this implies GCC will generate frame unwind information for all functions, which can produce significant data size overhead, although it does not affect execution. If you do not specify this option, GCC will enable it by default for languages like C++ which normally require exception handling, and disable it for languages like C that do not normally require it. However, you may need to enable this option when compiling C code that needs to interoperate properly with exception handlers written in C++. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Enable generation of information about every class with virtual functions for use by the C++ runtime type identification features ( dynamic_cast and typeid ). If you don't use those parts of the language, you can save some space by using this flag. Note that exception handling uses the same information, but it will generate it as needed. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Enable exception handling. Generates extra code needed to propagate exceptions. For some targets, this implies GCC will generate frame unwind information for all functions, which can produce significant data size overhead, although it does not affect execution. If you do not specify this option, GCC will enable it by default for languages like C++ and Objective-C which normally require exception handling, and disable it for languages like C that do not normally require it. However, you may need to enable this option when compiling C code that needs to interoperate properly with exception handlers written in other languages. You may also wish to disable this option if you are compiling older programs that don't use exception handling. Passes flag -fexceptions |
Type | Boolean |
Default Value | NO |
Description | Generate output containing library calls for floating point. If enabled, passes flag -msoft-float |
Type | Boolean |
Default Value | NO |
Description | Activating this setting enables kernel development mode. This mode sets -static , -fno-common , -fno-cxa-atexit , -fno-exceptions , -fno-non-call-exceptions , -fapple-kext , -fno-weak , and -fno-rtti where applicable. This mode also sets -mno-altivec , -msoft-float , -fno-builtin , and -mlong-branch for PowerPC targets. Passes flag -mkernel |
Type | Boolean |
Default Value | NO |
Description | This setting enables @try/@catch/@throw syntax for handling exceptions in Objective-C code. Specifies whether the compiler recognizes @try, @catch, and @throw directives. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Specifies the level of garbage-collection support for the generated code. |
Type | Enumeration |
Values |
|
Default Value | unsupported |
Description | Recognize and construct Pascal-style string literals. Its use in new code is discouraged. Pascal string literals take the form \\pstring . The special escape sequence \\p denotes the Pascal length byte for the string, and will be replaced at compile time with the number of characters that follow. The \p may only appear at the beginning of a string literal, and may not appear in wide string literals or as an integral constant. If enabled, passes flag -fpascal-strings |
Type | Boolean |
Default Value | YES |
Description | Specifies whether the binary uses the built-in functions that provide access to the SSE3 extensions to the IA-32 architecture. Old build setting. Kept around for old project compatibility. Forwards to $(CLANG_X86_VECTOR_INSTRUCTIONS) |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Specifies whether the binary uses the built-in functions that provide access to the SSE4.1 extensions to the IA-32 architecture. Old build setting. Kept around for old project compatibility. Forwards to $(CLANG_X86_VECTOR_INSTRUCTIONS) |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Specifies whether the binary uses the built-in functions that provide access to the SSE4.2 extensions to the IA-32 architecture. Old build setting. Kept around for old project compatibility. Forwards to $(CLANG_X86_VECTOR_INSTRUCTIONS) |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Old build setting. Kept around for old project compatibility. Forwards to $(CLANG_X86_VECTOR_INSTRUCTIONS) . |
Type | Boolean |
Default Value | NO |
Description | Controls whether or not trigraphs are permitted in the source code. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Enables some floating point optimizations that are not IEEE754-compliant, but which usually work. Programs which require strict IEEE compliance may not work with this option. If enabled, passes flag -ffast-math |
Type | Boolean |
Default Value | NO |
Description | Enables or disables generation of debug symbols. When debug symbols are enabled, the level of detail can be controlled by the build 'Level of Debug Symbols' setting. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Activating this setting causes a 'notes' file to be produced that the gcov code-coverage utility can use to show program coverage. If enabled, passes flag -ftest-coverage |
Type | Boolean |
Default Value | NO |
Description | Enabling this option will enable increased sharing of precompiled headers among targets which share the same prefix header and precompiled header directory. Xcode distinguishes among precompiled header files by generating a hash value based on the command-line options to the compiler used to create the PCH. Enabling this option will exclude certain compiler options from that hash. Presently this option will exclude search path options (-I , -iquote , -isystem , -F , -L ) from the hash. Enabling increased sharing of PCH files carries some risk: If two targets use the same prefix header but have different include paths which cause the prefix header to include different files when they are precompiled, then subtle problems may result because one target will use a PCH which was built using files included by the other target. In this case, this option must be turned off in order to enforce correctness. |
Type | Boolean |
Default Value | NO |
Description | When enabled, out-of-line copies of inline methods are declared private extern . If enabled, passes flag -fvisibility-inlines-hidden |
Type | Boolean |
Default Value | NO |
Description | Specifies whether to compile each source file according to its file type, or whether to treat all source files in the target as if they are of a specific language. |
Type | Enumeration |
Values |
|
Default Value | automatic |
Description | Activating this setting indicates that code should be added so program flow arcs are instrumented. If enabled, passes flag -fprofile-arcs |
Type | Boolean |
Default Value | NO |
Description | Enabling this option allows linking with the shared libraries. This is the default for most product types. If disabled, passes flag -static |
Type | Boolean |
Default Value | YES |
Description | Sets the minimum deployment version for OS X. Passes flag -mmacosx-version-min=$(value) |
Type | String |
Default Value | $(MACOSX_DEPLOYMENT_TARGET) |
Description | In C, allocate even uninitialized global variables in the data section of the object file, rather than generating them as common blocks. This has the effect that if the same variable is declared (without extern ) in two different compilations, you will get an error when you link them. The only reason this might be useful is if you wish to verify that the program will work on other systems which always work this way. If enabled, passes flag -fno-common |
Type | Boolean |
Default Value | NO |
Description | Used by iPhoneSimulator to specify the ObjC runtime for architecture. Passes flag -fobjc-abi-version=$(value) |
Type | Enumeration |
Values |
|
Default Value | $(OBJC_ABI_VERSION) |
Description | Used by iPhoneSimulator to specify the ObjC runtime for architecture. Passes flag -fobjc-legacy-dispatch |
Type | Boolean |
Default Value | NO |
Description | Old build setting. |
Type | Enumeration |
Values |
|
Default Value | compile |
Description | Specifies the degree to which the generated code is optimized for speed and binary size. Passes flag -O$(value) |
Type | Enumeration |
Values |
|
Default Value | s |
Description | Space-separated list of supported C dialect files. |
Type | StringList |
Default Value | c objective-c c++ objective-c++ |
Description | Generates a precompiled header for the prefix header, which should reduce overall build times. |
Type | Boolean |
Values |
|
Default Value | $(PRECOMPILE_PREFIX_HEADER) |
Description | Implicitly include the named header. The path given should either be a project relative path or an absolute path. |
Type | String |
Default Value | $(PREFIX_HEADER) |
Example Value | MyProduct_Prefix.pch |
Description | Space-separated list of preprocessor macros of the form "foo" or "foo=bar". Each element is passed with flag -D |
Type | StringList |
Default Value |
|
Description | Space-separated list of preprocessor macros of the form "foo" or "foo=bar". These macros are not used when precompiling a prefix header file. |
Type | StringList |
Default Value | empty string |
Description | See $(GCC_PREPROCESSOR_DEFINITIONS) . |
Type | StringList |
Default Value | empty string |
Description | Reuse string literals. If disabled, passes flag -fwritable-strings |
Type | Boolean |
Default Value | YES |
Description | Make enums only as large as needed for the range of possible values. If enabled, passes flag -fshort-enums |
Type | Boolean |
Default Value | NO |
Description | Optimize code by making more aggressive assumptions about whether pointers can point to the same objects as other pointers. Programs which use pointers a lot may benefit from this, but programs that don't strictly follow the ISO C rules about the type with which an object may be accessed may behave unexpectedly. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | When enabled, all symbols are declared private extern unless explicitly marked to be exported using __attribute__((visibility("default"))) in code. If not enabled, all symbols are exported unless explicitly marked as private extern . For more information, see Symbol Visibility. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Emits extra code to use the routines specified in the C++ ABI for thread-safe initialization of local statics. You can disable this option to reduce code size slightly in code that doesn't need to be thread-safe. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Causes warnings about missing function prototypes to be treated as errors. Only applies to C and Objective-C. If enabled, passes flag -Werror-implicit-function-declaration |
Type | Boolean |
Default Value | NO |
Description | Enabling this option causes warnings about incompatible pointer types to be treated as errors. If enabled, passes flag -Werror=incompatible-pointer-types |
Type | Boolean |
Default Value | NO |
Description | Enabling this option causes all warnings to be treated as errors. If enabled, passes flag "-Werror |
Type | Boolean |
Default Value | NO |
Description | Unrolls loops. Unrolling makes the code larger, but may make it faster by reducing the number of branches executed. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Used by GCC 3.1 and later only. |
Type | Boolean |
Default Value | YES |
Description | If disabled, passes flag -nostdinc . |
Type | Boolean |
Default Value | YES |
Description | Identifies the GCC version to be used to compile the target’s source files. When the target's "System C rule" is set to GCC System Version (instead of a specific version number), this build setting is not available in Run Script build phases. |
Type | String |
Default Value | empty string |
Description | Warn if a value is implicitly converted from a 64 bit type to a 32 bit type. This is a subset of the warnings provided by -Wconversion . |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn about the use of deprecated functions, variables, and types (as indicated by the 'deprecated' attribute). |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Unchecking this setting will suppress warnings from applying the offsetof macro to a non-POD type. According to the 1998 ISO C++ standard, applying offsetof to a non-POD type is undefined. In existing C++ implementations, however, offsetof typically gives meaningful results even when applied to certain kinds of non-POD types. (Such as a simple struct that fails to be a POD type only by virtue of having a constructor.) This flag is for users who are aware that they are writing non-portable code and who have deliberately chosen to ignore the warning about it. The restrictions on offsetof may be relaxed in a future version of the C++ standard. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn if a structure's initializer has some fields missing. For example, the following code would cause such a warning, because "x.h" is implicitly zero:
This option does not warn about designated initializers, so the following modification would not trigger a warning:
|
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn when a source file does not end with a newline. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Causes warnings to be emitted about missing prototypes. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn when pointers passed via arguments or assigned to a variable differ in sign. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Causes warnings to be emitted when a function with a defined return type (not void) contains a return statement without a return-value. Also emits a warning when a function is defined without specifying a return type. |
Type | Enumeration |
Values |
|
Default Value | YES_ERROR |
Description | Warn if methods required by a protocol are not implemented in the class adopting it. Only applies to Objective-C. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn whenever a switch statement has an index of enumeral type and lacks a case for one or more of the named codes of that enumeration. The presence of a default label prevents this warning. Case labels outside the enumeration range also provoke warnings when this option is used. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn about four-char literals (e.g., MacOS-style OSTypes: 'APPL'). |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn when a function declaration hides virtual functions from a base class. For example, in:
the A class version of f() is hidden in B, and code like this:
will fail to compile. This setting only applies to C++ and Objective-C++ sources. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Inhibit all warning messages. If enabled, passes flag -w |
Type | Boolean |
Default Value | NO |
Description | Warn if an aggregate or union initializer is not fully bracketed. Example, Here initializer for
|
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn if parentheses are omitted in certain contexts, such as when there is an assignment in a context where a truth value is expected, or when operators are nested whose precedence people often get confused about. Also warn about constructions where there may be confusion to which if statement an else branch belongs. Here is an example of such a case:
In C, every else branch belongs to the innermost possible if statement, which in this example is if (b) . This is often not what the programmer expected, as illustrated in the above example by indentation the programmer chose. When there is the potential for this confusion, GCC will issue a warning when this flag is specified. To eliminate the warning, add explicit braces around the innermost if statement so there is no way the else could belong to the enclosing if . The resulting code would look like this:
|
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn if multiple methods of different types for the same selector are found during compilation. The check is performed on the list of methods in the final stage of compilation. Additionally, a check is performed for each selector appearing in a @selector(...) expression, and a corresponding method for that selector has been found during compilation. Because these checks scan the method table only at the end of compilation, these warnings are not produced if the final stage of compilation is not reached, for example because an error is found during compilation, or because the -fsyntax-only option is being used. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn when a class declares an nonvirtual destructor that should probably be virtual, because it looks like the class will be used polymorphically. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden extensions, and some other programs that do not follow ISO C and ISO C++. For ISO C, follows the version of the ISO C standard specified by any -std option used. If enabled, passes flag -pedantic |
Type | Boolean |
Default Value | NO |
Description | Warn whenever a local variable shadows another local variable, parameter or global variable or whenever a built-in function is shadowed. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn when a comparison between signed and unsigned values could produce an incorrect result when the signed value is converted to unsigned. If enabled, passes flag -Wsign-compare |
Type | Boolean |
Default Value | NO |
Description | Warn if multiple methods with differing argument and/or return types are found for a given selector when attempting to send a message using this selector to a receiver of type "id" or "Class". When this setting is disabled, the compiler will omit such warnings if any differences found are confined to types which share the same size and alignment. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Check calls to printf and scanf, etc., to make sure that the arguments supplied have types appropriate to the format string specified, and that the conversions specified in the format string make sense. Enabled by default. If disabled, passes flag -Wno-format |
Type | Boolean |
Default Value | YES |
Description | Warn if a @selector(...) expression referring to an undeclared selector is found. A selector is considered undeclared if no method with that name has been declared before the @selector(...) expression, either explicitly in an @interface or @protocol declaration, or implicitly in an @implementation section. This option always performs its checks as soon as a @selector(...) expression is found, while -Wselector only performs its checks in the final stage of compilation. This also enforces the coding style convention that methods and selectors must be declared before being used. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn if a variable might be clobbered by a setjmp call or if an automatic variable is used without prior initialization. Note that the compiler may not detect all cases where an automatic variable is initialized or all usage patterns that may lead to use prior to initialization. You can toggle between the normal uninitialized value checking or the more aggressive (conservative) checking which finds more issues but the checking is much stricter. |
Type | Enumeration |
Values |
|
Default Value | NO |
Description | Warn when a #pragma directive is encountered which is not understood by GCC. If this command line option is used, warnings will even be issued for unknown pragmas in system header files. This is not the case if the warnings were only enabled by the -Wall command line option. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn whenever a static function is declared but not defined or a non-inline static function is unused. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn whenever a label is declared but not used. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn whenever a function parameter is unused aside from its declaration. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Warn whenever a statement computes a result that is explicitly not used. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Warn whenever a local variable or non-constant static variable is unused aside from its declaration. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Activating this setting will cause the object files built by a target to be prelinked using ld -r into a single object file, and that object file will then be linked into the final product. This is useful to force the linker to resolve symbols and link the object files into a single module before building a static library. Also, a separate set of link flags can be applied to the prelink allowing additional control over (for instance) exported symbols. |
Type | Boolean |
Default Value | NO |
Description | Specifies whether to generate the product's package information file. |
Type | Boolean |
Values |
|
Default Value |
|
Description | Activating this setting will cause the compiler and linker to generate profiling code. E.g., GCC will generate code suitable for use with gprof(1). Passes flag -pg |
Type | Boolean |
Default Value | NO |
Description | Group id of the current user. |
Type | String |
Default Value | id -g |
Description | Group name of the current user. |
Type | String |
Default Value | id -gn |
Example Value | staff |
Description | Header map file format. |
Type | Enumeration |
Values |
|
Default Value | traditional |
Description | Specifies whether the header map contains a name/path entry for every header in the target being built. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Specifies whether the header map contains a framework-name/path entry for every header in the target being built, including targets that do not build frameworks. |
Type | Boolean |
Values |
|
Default Value | YES |
Description | Specifies if the header map contains non-public and non-private headers. |
Type | Boolean |
Default Value | $(HEADERMAP_INCLUDES_PROJECT_HEADERS) |
Description | Specifies whether the header map contains a name/path entry for every header in the project, regardless of the headers' target membership. |
Type | Boolean |
Values |
|
Default Value | YES |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | $(DEFINES_MODULE) |
Description | Space-separated list of directory paths. Specifies directories in which to search for header files. (In GCC, this list is passed in the gcc -I option.) When this build setting is defined, $(SDKROOT) is added to the beginning of each system-header path passed to the compiler. |
Type | PathList |
Default Value | $(inherited) $(DT_TOOLCHAIN_DIR)/usr/include |
Example Value | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include |
Description | Instructs the XIB compiler to add custom fonts to the application's Info.plist which will cause the fonts to activate upon application launch. Passes flag --auto-activate-custom-fonts |
Type | Boolean |
Default Value | YES |
Description | Show errors encountered during the compilation of XIB files. Passes flag --errors |
Type | Boolean |
Default Value | YES |
Description | Compiles a XIB file into flattened (non-wrapper) NIB file. After flattening, the resulting NIB is more compact but no longer editable by Interface Builder. When this option is disabled, the resulting NIB file remains editable in Interface Builder. If disabled, passes flag --flatten NO |
Type | Boolean |
Default Value | YES |
Description | Show notices encountered during the compilation of XIB files. Passes flag --notices |
Type | Boolean |
Default Value | YES |
Description | A list of additional flags to pass to the Interface Builder Compiler. Use this setting if Xcode does not already provide UI for a particular Interface Builder Compiler flag. |
Type | StringList |
Default Value | empty string |
Description | Show warnings encountered during the compilation of XIB files. Passes flag --warnings |
Type | Boolean |
Default Value | YES |
Description | Path to iconv tool. |
Type | Path |
Default Value | /usr/bin/iconv |
Description | This is a list of fnmatch()-style patterns of file or directory names to include when performing a recursive search. By default this list is empty and is only customized when you want to provide exceptions to the list of filename patterns provided in the "Sub-Directories to Exclude in Recursive Searches". |
Type | StringList |
Default Value | empty string |
Description | Expand build settings in the Info.plist file. |
Type | Boolean |
Default Value | YES |
Description | This is the project-relative path to the plist file that contains the Info.plist information used by bundles. |
Type | Path |
Default Value | empty string |
Description | Other flags to pass to the C preprocessor when preprocessing the Info.plist file. |
Type | StringList |
Default Value | empty string |
Description | Specifies the output encoding for the output Info.plist (by default, the output encoding will be unchanged from the input). The output endcodings can be 'binary' or 'XML'. |
Type | Enumeration |
Values |
|
Default Value | same-as-input |
Description | Implicitly include the given file when preprocessing the Info.plist file. The path given should either be a project relative path or an absolute path. |
Type | String |
Default Value | empty string |
Description | Preprocess the Info.plist file using the C Preprocessor. |
Type | Boolean |
Default Value | NO |
Description | Space-separated list of preprocessor macros of the form "foo" or "foo=bar". These macros are used when preprocessing the Info.plist file. |
Type | StringList |
Default Value | empty string |
Description | This is the name of the routine to use for initialization. |
Type | String |
Default Value | empty string |
Description | Identifies the directory in the developer’s filesystem into which the installed product is placed. |
Type | Path |
Default Value | $(DSTROOT)$(INSTALL_PATH) |
Description | The group name or gid for installed products. |
Type | String |
Default Value | $(GROUP) |
Example Value | staff |
Description | Permissions used for installed product files. |
Type | String |
Default Value | u+w,go-w,a+rX |
Description | The owner name or uid for installed products. |
Type | String |
Default Value | $(USER) |
Example Value | genica |
Description | Identifies the directory in the user’s filesystem into which the installed product is placed. |
Type | Path |
Values |
|
Default Value | empty string |
Description | Alias to $(DSTROOT) |
Type | Path |
Default Value | $(DSTROOT) |
Description | Code will load on this and later versions of iOS. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs. Passes flags --minimum-deployment-target $(value) |
Type | String |
Example Value | 8.2 |
Description | Default javac flags |
Type | String |
Default Value | -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 |
Type | Path |
Default Value | $(SYSTEM_LIBRARY_DIR)/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub |
Type | Boolean |
Default Value | YES |
Type | Enumeration |
Values |
|
Default Value | JAR |
Description | Path to javac tool. |
Type | Path |
Default Value | /usr/bin/javac |
Type | PathList |
Default Value | Resources |
Type | StringList |
Default Value | cv |
Type | Path |
Default Value | . |
Type | Boolean |
Default Value | YES |
Type | StringList |
Default Value | -urg |
Description | Activating this setting will preserve private external symbols rather than turning them into static symbols. This setting is also respected when performing a single-object prelink. |
Type | Boolean |
Default Value | NO |
Description | This setting defines the path to which the linker should emit information about what files it used as inputs and generated. Xcode uses this information for its dependency tracking. Setting the value of this setting to empty will disable passing this option to the linker. |
Type | Path |
Default Value | $(OBJECT_FILE_DIR_$(CURRENT_VARIANT))/$(CURRENT_ARCH)/$(PRODUCT_NAME)_dependency_info.dat |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/Objects-normal/x86_64/MyProject_dependency_info.dat |
Description | Sets an internal "install path" $(LC_ID_DYLIB) in a dynamic library. Any clients linked against the library will record that path as the way dyld should locate this library. If this option is not specified, then the -o path will be used. This setting is ignored when building any product other than a dynamic library. Passes flag -install_name |
Type | Path |
Default Value | empty string |
Description | Activating this setting will cause the linker to write a map file to disk which details all symbols and their addresses in the output image. The path to the map file is defined by the Path to Link Map File setting. If enabled, passes flags: * -Xlinker -map * -Xlinker $(LD_MAP_FILE_PATH) |
Type | Boolean |
Default Value | YES |
Description | This setting defines the path to the map file written by the linker when the Write Link Map File setting is activated. By default a separate file will be written for each architecture and build variant, and these will be generated in the Intermediates directory for the target whose produce is being linked. |
Type | Path |
Default Value | $(TARGET_TEMP_DIR)/$(PRODUCT_NAME)-LinkMap-$(CURRENT_VARIANT)-$(CURRENT_ARCH).txt |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/MyProject-LinkMap-normal-x86_64.txt |
Description | Activating this setting will cause Xcode to not create position independent executables. If enabled, passes flag -Xlinker -no_pie |
Type | Boolean |
Default Value | NO |
Description | This setting controls whether arguments to the linker should be 'quoted' using -Xlinker . By default Xcode invokes the linker by invoking the driver of the compiler used to build the source files in the target, and passing -Xlinker to 'quote' arguments will cause the compiler driver to pass them through to the linker (rather than trying to evaluate them within the driver). By default this setting is enabled. Disabling it will cause Xcode to not use -Xlinker to pass arguments to the linker. Disabling this setting is useful if the target has instructed Xcode to use an alternate linker (e.g., by setting the LD setting to the path to another linker) and that alternate linker does not recognize -Xlinker . |
Type | Boolean |
Default Value | YES |
Description | This is a list of paths to be added to the runpath search path list for the image being created. At runtime, dyld uses the runpath when searching for dylibs whose load path begins with @rpath/ . Passes flags: * -Xlinker -map * -Xlinker $(value) |
Type | StringList |
Default Value | empty string |
Type | Path |
Default Value | $(DEVELOPER_DIR)/../PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer |
Example Value | /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer |
Description | Path to lex tool. |
Type | Path |
Default Value | lex |
Description | Space-separated list of flags to pass to lex |
Type | StringList |
Default Value | empty string |
Description | No space between the library flag and the library name. |
Type | Boolean |
Default Value | YES |
Description | Prefix for passing libraries. |
Type | String |
Default Value | -l |
Type | Path |
Default Value | $(LOCAL_LIBRARY_DIR)/Extensions |
Description | This is a list of paths to folders to be searched by the linker for libraries used by the product. Paths are delimited by whitespace, so any paths with spaces in them need to be properly quoted. |
Type | PathList |
Default Value | empty string |
Description | Activating this setting causes the linker to display mangled names for C++ symbols. Normally, this is not recommended, but turning it on can help to diagnose and solve C++ link errors. If enabled, passes flag -Xlinker --no-demangle |
Type | Boolean |
Default Value | NO |
Description | If this setting activated, then the compiler driver will automatically pass its standard libraries to the linker to use during linking. If desired, this flag can be used to disable linking with the standard libraries, and then individual libraries can be passed as Other Linker Flags. If disabled, passes flag -nostdlib |
Type | Boolean |
Default Value | YES |
Description | If aggressive optimizations are enabled. |
Type | Boolean |
Default Value | $(LLVM_OPTIMIZATION_LEVEL_VAL_$(GCC_OPTIMIZATION_LEVEL)) |
Description | Enabling this setting allows the optimizer to look across object files in your program and optimize across file boundaries during linking. If enabled, passes flag -flto |
Type | Boolean |
Default Value | NO |
Type | Boolean |
Default Value | NO |
Type | Boolean |
Default Value | NO |
Type | Boolean |
Default Value | NO |
Type | Boolean |
Default Value | NO |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | NO |
Type | Path |
Default Value | /Applications/Utilities |
Type | Path |
Default Value | /Applications |
Type | Path |
Default Value | /Library/Developer |
Type | Path |
Default Value | /Library |
Description | This setting determines the format of the produced binary and how it can be linked when building other binaries. |
Type | Enumeration |
Values |
|
Default Value | empty string |
Description | Code will load on this and later versions of OS X. Framework APIs that are unavailable in earlier versions will be weak-linked; your code should check for null function pointers or specific system versions before calling newer APIs. Passes flag -mmacosx-version-min=$(value) |
Type | Enumeration |
Values |
|
Default Value | empty string |
Example Value | 10.9 |
Description | This is the project-relative path to the LLVM module map file that defines the module structure for the compiler. If empty, it will be automatically generated for appropriate products when $(DEFINES_MODULE) is enabled. |
Type | String |
Default Value | empty string |
Description | This is the project-relative path to the LLVM module map file that defines the module structure for private headers. |
Type | String |
Default Value | empty string |
Description | Absolute path of folder in which compiler stores its cached "cmodules" - this cache is a performance improvement. |
Type | Path |
Default Value | $(DERIVED_DATA_DIR)/ModuleCache |
Description | This is the identifier of the kernel module listed in the generated stub. This is only used when building kernel extensions. |
Type | String |
Default Value | empty string |
Description | This defines the name of the kernel module start routine. This is only used when building kernel extensions. |
Type | String |
Default Value | empty string |
Description | This defines the name of the kernel module stop routine. This is only used when building kernel extensions. |
Type | String |
Default Value | empty string |
Description | This is the version of the kernel module listed in the generated stub. This is only used when building kernel extensions. |
Type | String |
Default Value | empty string |
Description | Produce debugging information. This information is required for shader profiling. If enabled, passes flag -gline-tables-only |
Type | Boolean |
Default Value | NO |
Description | Identifies the architecture on which the build is being performed (same as $(CURRENT_ARCH) ). |
Type | String |
Example Value | i386 |
Description | Objective-C ABI version |
Type | String |
Description | Partially identifies the directory into which variant object files are placed. The complete specification is computed using the variants of this build setting. |
Type | Path |
Default Value | $(TARGET_TEMP_DIR)/Objects |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/Objects |
Description | Fully identifies the directory into which variant object files are placed. For each build variant in $(BUILD_VARIANTS) , Xcode generates an $(OBJECT_FILE_DIR) build setting with the variant name as a suffix. The generated build setting’s value is computed using $(OBJECT_FILE_DIR) and the build variant name. |
Type | Path |
Default Value | $(OBJECT_FILE_DIR)-$(CURRENT_VARIANT) |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build/Objects-normal |
Description | The path where intermediate files will be placed during a build. Intermediate files include generated sources, object files, etc. Shell script build phases can place and access files here, as well. Typically this path is not set per target, but is set per-project or per-user. |
Type | Path |
Default Value | $(PROJECT_DIR)/build |
Description | Specifies whether the product includes only object code for the native architecture. |
Type | Boolean |
Values |
|
Default Value |
|
Description | The path to a file which alters the order in which functions and data are laid out. For each section in the output file, any symbol in that section that are specified in the order file is moved to the start of its section and laid out in the same order as in the order file. Order files are text files with one symbol name per line. Lines starting with a # are comments. A symbol name may be optionally preceded with its object file leafname and a colon (e.g. foo.o:_foo). This is useful for static functions/data that occur in multiple files. A symbol name may also be optionally preceded with the architecture (e.g. ppc:_foo or ppc:foo.o:_foo ). This enables you to have one order file that works for multiple architectures. Literal c-strings may be ordered by quoting the string in the order file (e.g. "Hello, world"). Generally you should not specify an order file in Debug or Development configurations, as this will make the linked binary less readable to the debugger. Use them only in Release or Deployment configurations. |
Type | String |
Default Value | empty string |
Description | Current OS |
Type | String |
Default Value | MACOS |
Description | Path to osacompile tool. |
Type | Path |
Default Value | /usr/bin/osacompile |
Description | Saves the output script in execute-only form: the script can be run, but cannot be opened in Script Editor or Xcode. With this option turned off, a user may see the original script source by opening the script. |
Type | Boolean |
Default Value | NO |
Description | Space-separated list of additional flags to pass to the compiler for C and Objective-C files. Be sure to backslash-escape any arguments that contain spaces or special characters (e.g. path names that may contain spaces). Use this setting if Xcode does not already provide UI for a particular C or Objective-C compiler flag. |
Type | StringList |
Default Value | empty string |
Description | This build setting allows you to pass any additional options you need to codesign(1) as a single space-delimited string. |
Type | StringList |
Default Value | empty string |
Description | Space-separated list of additional flags to pass to the compiler for C++ and Objective-C++ files. Be sure to backslash-escape any arguments that contain spaces or special characters (e.g. path names that may contain spaces). Use this setting if Xcode does not already provide UI for a C++ or Objective-C++ compiler flag. |
Type | StringList |
Default Value | $(OTHER_CFLAGS) |
Description | Options defined in this setting are passed to invocations of the linker. |
Type | StringList |
Default Value | empty string |
Description | Options defined in this setting are passed to all invocations of the archive librarian, which is used to generate static libraries. |
Type | StringList |
Default Value | empty string |
Description | Space-separated list of additional flags to pass to osacompile. Be sure to backslash-escape any arguments that contain spaces or special characters (e.g. path names that may contain spaces). Use this setting if Xcode does not already provide UI for a particular osacompile flag. |
Type | String |
Default Value | empty string |
Description | Space-separated list of directory paths. Identifies the directories to exclude from header-file scans when the build uses header-file dependencies. |
Type | PathList |
Default Value | /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks $(SYSTEM_DEVELOPER_DIR)/Headers $(SYSTEM_DEVELOPER_DIR)/SDKs $(SYSTEM_DEVELOPER_DIR)/Platforms |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications |
Type | Path |
Default Value | $(DEVELOPER_DIR)/usr/bin |
Example Value | /Applications/Xcode.app/Contents/Developer/usr/bin |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Library |
Example Value | /Applications/Xcode.app/Contents/Developer/Library |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Platforms/MacOSX.platform/Developer/SDKs |
Example Value | /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs |
Type | String |
Default Value | $(DEVELOPER_DIR)/Tools |
Example Value | /Applications/Xcode.app/Contents/Developer/Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/usr |
Example Value | /Applications/Xcode.app/Contents/Developer/usr |
Description | Path to the current platform bundle. |
Type | Path |
Default Value | xcrun --show-sdk-platform-path --sdk $(SDKROOT) |
Description | Name taken from the platform bundle. |
Type | String |
Default Value | macosx |
Description | Preferred architectures, value taken from the platform bundle. |
Type | String |
Description | Build version taken from the platform bundle. |
Type | String |
Description | Specifies the output encoding for Property List (.plist) files (by default, the output encoding will be unchanged from the input). The output endcodings can be binary or XML . |
Type | Enumeration |
Values |
|
Default Value | same-as-input |
Description | Old setting, see $(GCC_PRECOMPILE_PREFIX_HEADER) |
Type | Boolean |
Default Value | NO |
Description | This setting allows for better control of sharing precompiled prefix header files between projects. By default, Xcode assumes that the prefix header file may include header files from the build directory if the build directory is outside of the project directory. (Xcode cannot determine this ahead of time since other projects may not have been built into the shared build directory at the time the information is needed.) If your prefix file never includes files from the build directory you may set this to |
Type | Boolean |
Default Value | YES |
Description | Old setting, see $(GCC_PREFIX_HEADER) |
Type | Path |
Default Value | empty string |
Description | Additional flags to pass when performing a single-object prelink. |
Type | StringList |
Default Value | empty string |
Description | Additional libraries to pass when performing a single-object prelink. |
Type | StringList |
Default Value | empty string |
Description | Activating this setting (in combination with the Dead Code Stripping -dead_strip option ) causes the -no_dead_strip_inits_and_terms flag to be passed to ld(1) via cc(1) to disable dead code stripping for initialization and termination routines. This option should not be used without the aforementioned Dead Code Stripping option. |
Type | Boolean |
Default Value | NO |
Description | This is the location to copy the private headers during building, relative to the built products folder. |
Type | Path |
Default Value | empty string |
Description | Path to a file specifying additional requirements for a product archive. |
Type | String |
Default Value | empty string |
Description | The name to use for the source code module constructed for this target, and which will be used to import the module in implementation source files. Must be a valid identifier. |
Type | String |
Default Value | $(PRODUCT_NAME) |
Example Value | MyProject |
Description | Specifies the name of the product the target builds. |
Type | String |
Default Value | The name of the target at the time it was created. $(TARGET_NAME) |
Example Value | MyProject |
Description | Name of the project. |
Type | String |
Example Value | MyProject |
Description | Path to the derived sources for the current project. |
Type | Path |
Default Value | $(OBJROOT)/$(PROJECT_NAME).build/DerivedSources |
Example Value | /Users/genica/MyProject/build/MyProject.build/DerivedSources |
Type | Path |
Example Value | /Users/genica/MyProject |
Description | Path to the project file currently being worked from. |
Type | Path |
Example Value | /Users/genica/MyProject/MyProject.xcodeproj |
Description | Specifies the name of the project that defines the target. |
Type | String |
Default Value | The name of the project at the time it was created. |
Example Value | MyProject |
Description | Identifies the directory in which the project’s intermediate build files are placed. This directory is shared between all the targets defined by the project. Run Script build phases should generate intermediate build files in the directory identified by $(DERIVED_FILE_DIR) , not the location this build setting specifies. |
Type | Path |
Default Value | $(PROJECT_TEMP_ROOT)/$(PROJECT_NAME).build |
Example Value | /Users/genica/MyProject/build/MyProject.build |
Type | Path |
Default Value | $(SRCROOT)/$(SYMROOT) |
Example Value | /Users/genica/MyProject/build |
Description | The UUID of a valid provisioning profile. A missing or invalid profile will cause a build error. |
Type | String |
Default Value | empty string |
Description | This is the location to copy the public headers during building, relative to the built products folder. |
Type | Path |
Default Value | empty string |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | YES |
Type | Boolean |
Default Value | YES |
Description | Specifies whether the binary is stripped. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Specifies the directory in which the collected Resource Manager resources generated by ResMerger are stored before they are added to the product. |
Type | Path |
Default Value | $(TARGET_TEMP_DIR)/ResourceManagerResources |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProduct.build/ResourceManagerResources |
Description | SSpecifies the directory in which compiled Resource Manager resources generated by Rez are stored before they are collected using ResMerger. |
Type | Path |
Default Value | $(REZ_COLLECTOR_DIR)/Objects |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProduct.build/ResourceManagerResources/Objects |
Description | This is a list of paths to search for files with resource manager resources. Paths are delimited by whitespace, so any paths with spaces in them need to be properly quoted. |
Type | String |
Default Value | empty string |
Description | Activating this setting will cause Xcode to run the Clang static analysis tool on qualifying source files during every build. |
Type | Boolean |
Default Value | NO |
Description | Activating this setting will cause all source files to be scanned for includes (e.g. of header files) when computing the dependency graph, in which case if an included file is changed then the including file will be rebuilt next time a target containing it is built. Normally only certain types of files - such as C-language source files - are scanned. This setting is useful if your project contains files of unusual type which are compiled using a custom build rule. |
Type | Boolean |
Default Value | NO |
Description | Specifies the directory of the base SDK to use to build the product. |
Type | String |
Values | xcodebuild -showsdks to display available SDKs. |
Default Value | macosx |
Description | Path to SDK bundle |
Type | Path |
Default Value | xcrun --show-sdk-path |
Description | Name of current SDK. |
Type | String |
Example Value | macosx10.10 |
Description | Build version from the SDK bundle. |
Type | String |
Description | These flags are typically used to specify options for ordering symbols within segments, for example the -sectorder option to ld. Generally you should not specify symbol ordering options in Debug or Development configurations, as this will make the linked binary less readable to the debugger. Use them only in Release or Deployment configurations. |
Type | StringList |
Default Value | empty string |
Description | Path to sed tool. |
Type | Path |
Default Value | /usr/bin/sed |
Description | Activating this setting when the linked product is to be stripped will cause stripping to occur via a separate invocation of strip(1). Otherwise stripping will occur during linking, if possible. |
Type | Boolean |
Default Value | NO |
Description | Activating this setting when the linked product's symbols are to be edited will cause editing to occur via a separate invocation of nmedit(1). Otherwise editing will occur during linking, if possible. |
Type | Boolean |
Default Value | NO |
Description | Specifies the directory in which to place precompiled headers. Targets can share precompiled headers by specifying the same value for this build setting. |
Type | Path |
Default Value | $(CACHE_ROOT)/SharedPrecompiledHeaders |
Description | Specifies whether to place the product at the location indicated by $(DSTROOT) or the uninstalled products directory inside the directory indicated by $(TARGET_TEMP_DIR) . |
Type | Boolean |
Values |
|
Default Value | NO |
Type | Path |
Default Value | $(SRCROOT) |
Example Value | /Users/genica/MyProject |
Description | Identifies the directory containing the target’s source files. |
Type | Path |
Default Value | . |
Example Value | /Users/genica/MyProject |
Description | Specify the encoding to be used for the output files (by default, the output encoding will be 16-bit Unicode). The value can be either an NSStringEncoding, i.e. one of the numeric values recognized by NSString, or it can be an IANA character set name as understood by CFString. The operation will fail if the file cannot be converted to the specified encoding. |
Type | String |
Values |
|
Default Value | UTF-16 |
Description | Additional flags to be passed when stripping the linked product of the build. |
Type | Boolean |
Default Value | Default value will be computed from $(UNSTRIPPED_PRODUCT) |
Description | Activating this setting causes the linked product of the build to be stripped of symbols as part of deployment postprocessing. |
Type | Boolean |
Default Value | YES |
Description | Defines the level of symbol stripping to be performed on the linked product of the build. The default value is defined by the target's product type. |
Type | Enumeration |
Values |
|
Default Value | all |
Description | The list of supported platforms from which a base SDK can be used. This setting is used if the product can be built for multiple platforms using different SDKs. |
Type | StringList |
Example Value | macosx |
Description | Swift optimization level. |
Type | Enumeration |
Values |
|
Default Value | -Onone |
Description | The path at which all products will be placed when performing a build. Typically this path is not set per target, but is set per-project or per-user. |
Type | Path |
Default Value | $(PROJECT_DIR)/build |
Type | Path |
Default Value | /Applications/Utilities |
Type | Path |
Default Value | /Applications |
Type | Path |
Default Value | /System/Library/CoreServices |
Type | Path |
Default Value | /Applications/Extras |
Type | Path |
Default Value | $(DEVELOPER_APPLICATIONS_DIR) |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications |
Type | Path |
Default Value | $(DEVELOPER_BIN_DIR) |
Example Value | /Applications/Xcode.app/Contents/Developer/usr/bin |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications/Utilities/Built Examples |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples |
Type | Path |
Default Value | $(DEVELOPER_DIR) |
Example Value | /Applications/Xcode.app/Contents/Developer |
Type | Path |
Default Value | $(DEVELOPER_DIR)/ADC Reference Library |
Example Value | /Applications/Xcode.app/Contents/Developer/ADC Reference Library |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications/Graphics Tools |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications/Java Tools |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications/Java Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications/Performance Tools |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/ADC Reference Library/releasenotes |
Example Value | /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes |
Type | Path |
Default Value | $(DEVELOPER_TOOLS_DIR) |
Example Value | /Applications/Xcode.app/Contents/Developer/Tools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/ADC Reference Library/documentation/DeveloperTools |
Example Value | /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools |
Type | Path |
Default Value | $(DEVELOPER_DIR)/ADC Reference Library/releasenotes/DeveloperTools |
Example Value | /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools |
Type | Path |
Default Value | $(DEVELOPER_USR_DIR) |
Example Value | /Applications/Xcode.app/Contents/Developer/usr |
Type | Path |
Default Value | $(DEVELOPER_DIR)/Applications/Utilities |
Example Value | /Applications/Xcode.app/Contents/Developer/Applications/Utilities |
Type | Path |
Default Value | /Library/Documentation |
Type | Path |
Default Value | /System/Library/Extensions |
Type | Path |
Default Value | /System/Library |
Description | Alias of $(TARGET_NAME) |
Type | String |
Example Value | MyProject |
Description | Identifies the root of the directory hierarchy that contains the product’s files (no intermediate build files). Run Script build phases that operate on product files of the target that defines them should use the value of this build setting. But Run Script build phases that operate on product files of other targets should use $(BUILT_PRODUCTS_DIR) instead. |
Type | Path |
Default Value | $(CONFIGURATION_BUILD_DIR) |
Example Value | /Users/genica/MyProject/build/build/Debug |
Description | Name of current build target. |
Type | String |
Example Value | MyProject |
Description | Identifies the directory containing the target’s intermediate build files. Run Script build phases should place intermediate files at the location indicated by $(DERIVED_FILE_DIR) , not the directory identified by this build setting. |
Type | Path |
Default Value | $(CONFIGURATION_TEMP_DIR)/$(TARGET_NAME).build |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build |
Description | Comma-separated list of numeric identifiers. Specifies the device families on which the product must be capable of running. |
Type | String |
Values |
|
Default Value | 1 |
Example Value | 1,2 |
Type | Path |
Default Value | $(TARGET_TEMP_DIR) |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build |
Type | Path |
Default Value | $(TEMP_DIR) |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build |
Type | Path |
Default Value | $(TEMP_DIR) |
Example Value | /Users/genica/MyProject/build/MyProject.build/Debug/MyProject.build |
Type | Path |
Default Value | $(OBJROOT) |
Example Value | /Users/genica/MyProject/build |
Description | Path to the executable into which a bundle of tests is injected. Only specify this setting if testing an application or other executable. |
Type | String |
Default Value | empty string |
Description | When running tests that measure performance via XCTestCase, report missing baselines as test failures. |
Type | Boolean |
Default Value | NO |
Description | Current user id. |
Type | String |
Default Value | id -u |
Example Value | 501 |
Description | This is a project-relative path to a file that lists the symbols not to export. Passes flag -unexported_symbols_list |
Type | String |
Default Value | empty string |
Type | Boolean |
Default Value | NO |
Description | Current user name. |
Type | String |
Default Value | $(USER) |
Example Value | genica |
Type | Path |
Default Value | $(HOME)/Applications |
Example Value | /Users/genica/Applications |
Description | This is a list of paths to folders to be searched by the compiler for included or imported user header files (those headers listed in quotes) when compiling C, Objective-C, C++, or Objective-C++. Paths are delimited by whitespace, so any paths with spaces in them need to be properly quoted. See the description of the $(ALWAYS_SEARCH_USER_PATHS) build setting for more details on how this setting is used. If the compiler doesn't support the concept of user headers, then the search paths are prepended to the any existing header search paths defined in $(HEADER_SEARCH_PATHS) . |
Type | PathList |
Default Value | empty string |
Type | Path |
Default Value | $(HOME)/Library |
Example Value | /Users/genica/Library |
Description | Enable use of headermap files. |
Type | Boolean |
Default Value | YES |
Description | Part of headermap settings. |
Type | Boolean |
Default Value | NO |
Description | Specifies whether to run product-validation tests. |
Type | Boolean |
Values |
|
Default Value | NO |
Description | Space-separated list of identifiers. Specifies the architectures for which the binary may be built. During the build, this list is intersected with the value of $(ARCHS) build setting; the resulting list specifies the architectures the binary can run on. If the resulting architecture list is empty, the target generates no binary. |
Type | StringList |
Default Value | Taken from platform |
Example Value | i386 x86_64 |
Description | Selects the process used for version-stamping generated files. |
Type | String |
Values |
|
Default Value | empty string |
Description | This defines a reference to the user performing a build to be included in the generated Apple Generic Versioning stub. |
Type | String |
Default Value | $(USER) |
Description | This defines a prefix string for the version info symbol declaration in the generated Apple Generic Versioning stub. This can be used, for example, to add an optional 'export' keyword to the version symbol declaration. This should rarely be changed. |
Type | String |
Default Value | empty string |
Description | Used to specify a name for the source file that will be generated by Apple Generic Versioning and compiled into your product. |
Type | String |
Default Value | $(PRODUCT_NAME)_vers.c |
Description | Used as a prefix for the name of the version info symbol in the generated versioning source file. If you prefix your exported symbols you will probably want to set this to the same prefix. |
Type | String |
Default Value | empty string |
Description | Used as a suffix for the name of the version info symbol in the generated versioning source file. This is rarely used. |
Type | String |
Default Value | empty string |
Description | Space-separated list of additional warning flags to pass to the compiler. Use this setting if Xcode does not already provide UI for a particular compiler warning flag. |
Type | StringList |
Default Value | empty string |
Description | These flags are passed with linker invocations, and by default give the -no_arch_warnings flag to the linker to avoid many warnings being generated during multi-architecture builds. |
Type | StringList |
Default Value | empty string |
Description | This is the extension used for product wrappers, which has a default value based on the product type. |
Type | String |
Default Value | empty string |
Type | Path |
Default Value | $(DEVELOPER_LIBRARY_DIR)/Xcode |
Example Value | /Applications/Xcode.app/Contents/Developer/Library/Xcode |
Description | This value is hard-coded into Xcode's frameworks. |
Type | String |
Example Value | 6C131e |
Description | This value is hard-coded into Xcode's frameworks. |
Type | String |
Example Value | 0620 |
Description | This value is hard-coded into Xcode's frameworks. |
Type | String |
Example Value | 0600 |
Description | This value is hard-coded into Xcode's frameworks. |
Type | String |
Example Value | 0020 |
Description | Path to yacc tool |
Type | Path |
Default Value | yacc |
Description | Space-separated list of flags to pass to yacc |
Type | StringList |
Default Value | empty string |