|
| 1 | +/** |
| 2 | + iPhone Simulator ProductTypes.xcspec |
| 3 | + |
| 4 | + Copyright (c) 1999-2008 Apple Inc. All rights reserved. |
| 5 | + |
| 6 | + Product type specifications for iPhone Simulator. |
| 7 | +*/ |
| 8 | +( |
| 9 | + // Application |
| 10 | + { Type = ProductType; |
| 11 | + Identifier = com.apple.product-type.application; |
| 12 | + BasedOn = com.apple.product-type.bundle; |
| 13 | + Class = PBXApplicationProductType; |
| 14 | + Name = "Application"; |
| 15 | + Description = "Application"; |
| 16 | + IconNamePrefix = "TargetApp"; |
| 17 | + DefaultTargetName = "Application"; |
| 18 | + SupportsZeroLink = YES; |
| 19 | + DefaultBuildProperties = { |
| 20 | + MACH_O_TYPE = "mh_execute"; |
| 21 | + GCC_DYNAMIC_NO_PIC = NO; |
| 22 | + GCC_SYMBOLS_PRIVATE_EXTERN = YES; |
| 23 | + GCC_INLINES_ARE_PRIVATE_EXTERN = YES; |
| 24 | + WRAPPER_SUFFIX = ".$(WRAPPER_EXTENSION)"; |
| 25 | + WRAPPER_EXTENSION = "app"; |
| 26 | + INSTALL_PATH = "$(LOCAL_APPS_DIR)"; |
| 27 | + STRIP_STYLE = "all"; |
| 28 | + }; |
| 29 | + PackageTypes = ( |
| 30 | + com.apple.package-type.wrapper.application |
| 31 | + ); |
| 32 | + }, |
| 33 | + |
| 34 | + // Bundle |
| 35 | + { Type = ProductType; |
| 36 | + Identifier = com.apple.product-type.bundle; |
| 37 | + Class = PBXBundleProductType; |
| 38 | + Name = "Bundle"; |
| 39 | + Description = "Generic bundle"; |
| 40 | + IconNamePrefix = "TargetPlugin"; |
| 41 | + DefaultTargetName = "Bundle"; |
| 42 | + DefaultBuildProperties = { |
| 43 | + FULL_PRODUCT_NAME = "$(WRAPPER_NAME)"; |
| 44 | + MACH_O_TYPE = "mh_bundle"; |
| 45 | + WRAPPER_PREFIX = ""; |
| 46 | + WRAPPER_SUFFIX = ".$(WRAPPER_EXTENSION)"; |
| 47 | + WRAPPER_EXTENSION = "bundle"; |
| 48 | + WRAPPER_NAME = "$(WRAPPER_PREFIX)$(PRODUCT_NAME)$(WRAPPER_SUFFIX)"; |
| 49 | + FRAMEWORK_FLAG_PREFIX = "-framework"; |
| 50 | + LIBRARY_FLAG_PREFIX = "-l"; |
| 51 | + LIBRARY_FLAG_NOSPACE = YES; |
| 52 | + STRIP_STYLE = "non-global"; |
| 53 | + GCC_INLINES_ARE_PRIVATE_EXTERN = YES; |
| 54 | + }; |
| 55 | + PackageTypes = ( |
| 56 | + com.apple.package-type.wrapper |
| 57 | + ); |
| 58 | + IsWrapper = YES; |
| 59 | + HasInfoPlist = YES; |
| 60 | + HasInfoPlistStrings = YES; |
| 61 | + }, |
| 62 | + |
| 63 | + // Static library |
| 64 | + { Type = ProductType; |
| 65 | + Identifier = com.apple.product-type.library.static; |
| 66 | + Class = PBXStaticLibraryProductType; |
| 67 | + Name = "Static Library"; |
| 68 | + Description = "Static library"; |
| 69 | + IconNamePrefix = "TargetLibrary"; |
| 70 | + DefaultTargetName = "Static Library"; |
| 71 | + DefaultBuildProperties = { |
| 72 | + FULL_PRODUCT_NAME = "$(EXECUTABLE_NAME)"; |
| 73 | + MACH_O_TYPE = "staticlib"; |
| 74 | + REZ_EXECUTABLE = YES; |
| 75 | + EXECUTABLE_PREFIX = "lib"; |
| 76 | + EXECUTABLE_SUFFIX = ".$(EXECUTABLE_EXTENSION)"; |
| 77 | + EXECUTABLE_EXTENSION = "a"; |
| 78 | + PUBLIC_HEADERS_FOLDER_PATH = "/usr/local/include"; |
| 79 | + PRIVATE_HEADERS_FOLDER_PATH = "/usr/local/include"; |
| 80 | + INSTALL_PATH = "/usr/local/lib"; |
| 81 | + FRAMEWORK_FLAG_PREFIX = "-framework"; |
| 82 | + LIBRARY_FLAG_PREFIX = "-l"; |
| 83 | + LIBRARY_FLAG_NOSPACE = YES; |
| 84 | + STRIP_STYLE = "debugging"; |
| 85 | + SEPARATE_STRIP = YES; |
| 86 | + GCC_ENABLE_SYMBOL_SEPARATION = NO; |
| 87 | + }; |
| 88 | + AlwaysPerformSeparateStrip = YES; |
| 89 | + PackageTypes = ( |
| 90 | + com.apple.package-type.static-library // default |
| 91 | + ); |
| 92 | + }, |
| 93 | + |
| 94 | + // Dynamic library |
| 95 | + { Type = ProductType; |
| 96 | + Identifier = com.apple.product-type.library.dynamic; |
| 97 | + Class = PBXDynamicLibraryProductType; |
| 98 | + Name = "Dynamic Library"; |
| 99 | + Description = "Dynamic library"; |
| 100 | + IconNamePrefix = "TargetLibrary"; |
| 101 | + DefaultTargetName = "Dynamic Library"; |
| 102 | + DefaultBuildProperties = { |
| 103 | + FULL_PRODUCT_NAME = "$(EXECUTABLE_NAME)"; |
| 104 | + MACH_O_TYPE = "mh_dylib"; |
| 105 | + REZ_EXECUTABLE = YES; |
| 106 | + EXECUTABLE_SUFFIX = ".$(EXECUTABLE_EXTENSION)"; |
| 107 | + EXECUTABLE_EXTENSION = "dylib"; |
| 108 | + PUBLIC_HEADERS_FOLDER_PATH = "/usr/local/include"; |
| 109 | + PRIVATE_HEADERS_FOLDER_PATH = "/usr/local/include"; |
| 110 | + INSTALL_PATH = "/usr/local/lib"; |
| 111 | + DYLIB_INSTALL_NAME_BASE = "$(INSTALL_PATH)"; |
| 112 | + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; |
| 113 | + DYLIB_COMPATIBILITY_VERSION = "1"; |
| 114 | + DYLIB_CURRENT_VERSION = "1"; |
| 115 | + FRAMEWORK_FLAG_PREFIX = "-framework"; |
| 116 | + LIBRARY_FLAG_PREFIX = "-l"; |
| 117 | + LIBRARY_FLAG_NOSPACE = YES; |
| 118 | + STRIP_STYLE = "debugging"; |
| 119 | + GCC_INLINES_ARE_PRIVATE_EXTERN = YES; |
| 120 | + CODE_SIGNING_ALLOWED = YES; |
| 121 | + }; |
| 122 | + PackageTypes = ( |
| 123 | + com.apple.package-type.mach-o-dylib // default |
| 124 | + ); |
| 125 | + }, |
| 126 | + |
| 127 | + // Framework |
| 128 | + { Type = ProductType; |
| 129 | + Identifier = com.apple.product-type.framework; |
| 130 | + BasedOn = com.apple.product-type.bundle; |
| 131 | + Class = PBXFrameworkProductType; |
| 132 | + Name = "Framework"; |
| 133 | + Description = "Framework"; |
| 134 | + IconNamePrefix = "TargetFramework"; |
| 135 | + DefaultTargetName = "Framework"; |
| 136 | + DefaultBuildProperties = { |
| 137 | + MACH_O_TYPE = "mh_dylib"; |
| 138 | + FRAMEWORK_VERSION = "A"; |
| 139 | + WRAPPER_SUFFIX = ".$(WRAPPER_EXTENSION)"; |
| 140 | + WRAPPER_EXTENSION = "framework"; |
| 141 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
| 142 | + DYLIB_INSTALL_NAME_BASE = "$(INSTALL_PATH)"; |
| 143 | + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; |
| 144 | + STRIP_STYLE = "debugging"; |
| 145 | + CODE_SIGNING_ALLOWED = YES; |
| 146 | + }; |
| 147 | + PackageTypes = ( |
| 148 | + com.apple.package-type.wrapper.framework // default |
| 149 | + ); |
| 150 | + }, |
| 151 | + |
| 152 | + // Unit Test Bundle Product |
| 153 | + { Type = ProductType; |
| 154 | + Identifier = com.apple.product-type.bundle.unit-test; |
| 155 | + BasedOn = com.apple.product-type.bundle; |
| 156 | + Name = "Unit Test Bundle"; |
| 157 | + Description = "Unit Test Bundle"; |
| 158 | + DefaultBuildProperties = { |
| 159 | + WRAPPER_EXTENSION = "xctest"; |
| 160 | + OTHER_LDFLAGS = "$(inherited) -framework XCTest"; |
| 161 | + FRAMEWORK_SEARCH_PATHS = "$(inherited) $(DEVELOPER_FRAMEWORKS_DIR)"; |
| 162 | + }; |
| 163 | + PackageTypes = ( |
| 164 | + com.apple.package-type.wrapper |
| 165 | + ); |
| 166 | + }, |
| 167 | + |
| 168 | +) |
0 commit comments