Project-Shared.xcconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. //
  2. // Project-Shared.xcconfig
  3. //
  4. // Generated by BuildSettingExtractor on 02/04/2018
  5. // https://github.com/dempseyatgithub/BuildSettingExtractor
  6. //
  7. PRODUCT_NAME = ${TARGET_NAME}
  8. DEVELOPMENT_TEAM =
  9. PROVISIONING_PROFILE_SPECIFIER =
  10. CODE_SIGN_STYLE = Manual
  11. // Misuse of 'nonnull'
  12. //
  13. // Check for misuses of `nonnull` parameter and return types.
  14. CLANG_ANALYZER_NONNULL = YES
  15. // Suspicious Conversions of NSNumber and CFNumberRef
  16. //
  17. // Warn when a number object, such as an instance of `NSNumber`, `CFNumberRef`,
  18. // `OSNumber`, or `OSBoolean` is compared or converted to a primitive value instead of
  19. // another object.
  20. CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
  21. // Always Search User Paths (Deprecated)
  22. //
  23. // This setting is deprecated as of Xcode 8.3 and may not be supported in future
  24. // versions. It is recommended that you disable the setting.
  25. //
  26. // If enabled, both `#include <header.h>`-style and `#include "header.h"`-style
  27. // directives search the paths in `USER_HEADER_SEARCH_PATHS` before
  28. // `HEADER_SEARCH_PATHS`. As a consequence, user headers, such as your own `String.h`
  29. // header, have precedence over system headers when using `#include <header.h>`. This is
  30. // done using the `-iquote` flag for the paths provided in `USER_HEADER_SEARCH_PATHS`. If
  31. // disabled and your compiler fully supports separate user paths, user headers are only
  32. // accessible with `#include "header.h"`-style preprocessor directives.
  33. //
  34. // For backwards compatibility reasons, this setting is enabled by default. Disabling it
  35. // is strongly recommended.
  36. ALWAYS_SEARCH_USER_PATHS = NO
  37. // C++ Language Dialect
  38. //
  39. // Choose a standard or non-standard C++ language dialect. Options include:
  40. //
  41. // * *C++98:* Accept ISO C++ 1998 with amendments, but not GNU extensions. [-std=c++98]
  42. // * *GNU++98:* Accept ISO C++ 1998 with amendments and GNU extensions. [-std=gnu++98]
  43. // * *C++11:* Accept the ISO C++ 2011 standard with amendments, but not GNU extensions.
  44. // [-std=c++11]
  45. // * *GNU++11:* Accept the ISO C++ 2011 standard with amendments and GNU extensions.
  46. // [-std=gnu++11]
  47. // * *C++14:* Accept the ISO C++ 2014 standard with amendments, but not GNU extensions.
  48. // [-std=c++14]
  49. // * *GNU++14:* Accept the ISO C++ 2014 standard with amendments and GNU extensions.
  50. // [-std=gnu++14]
  51. // * *C++17:* Accept the ISO C++ 2017 standard with amendments, but not GNU extensions.
  52. // [-std=c++17]
  53. // * *GNU++17:* Accept the ISO C++ 2017 standard with amendments and GNU extensions.
  54. // [-std=gnu++17]
  55. // * *Compiler Default:* Tells the compiler to use its default C++ language dialect. This
  56. // is normally the best choice unless you have specific needs. (Currently equivalent to
  57. // GNU++98.)
  58. CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
  59. // C++ Standard Library
  60. //
  61. // Choose a version of the C++ standard library to use.
  62. //
  63. // * *libstdc++:* A traditional C++ standard library that works with GCC and the LLVM
  64. // Compiler (default).
  65. // * *libc++:* A highly optimized C++ standard library that works only with the LLVM
  66. // Compiler, and is designed to support new C++11 features.
  67. CLANG_CXX_LIBRARY = libc++
  68. // Enable Modules (C and Objective-C)
  69. //
  70. // Enables the use of modules for system APIs. System headers are imported as semantic
  71. // modules instead of raw headers. This can result in faster builds and project indexing.
  72. CLANG_ENABLE_MODULES = YES
  73. // Objective-C Automatic Reference Counting
  74. //
  75. // Compiles reference-counted Objective-C code (when garbage collection is not enabled)
  76. // to use Automatic Reference Counting. Code compiled using automated reference counting
  77. // is compatible with other code (such as frameworks) compiled using either manual
  78. // reference counting (for example, traditional `retain` and `release` messages) or
  79. // automated reference counting. Using this mode is currently incompatible with compiling
  80. // code to use Objective-C Garbage Collection.
  81. CLANG_ENABLE_OBJC_ARC = YES
  82. // Weak References in Manual Retain Release
  83. //
  84. // Compiles Objective-C code to enable weak references for code compiled with manual
  85. // retain release (MRR) semantics.
  86. CLANG_ENABLE_OBJC_WEAK = YES
  87. // Duplicate Method Definitions
  88. //
  89. // Warn about declaring the same method more than once within the same `@interface`.
  90. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
  91. // Block Capture of Autoreleasing
  92. //
  93. // Warn about block captures of implicitly autoreleasing parameters.
  94. CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
  95. // Implicit Boolean Conversions
  96. //
  97. // Warn about implicit conversions to boolean values that are suspicious. For example,
  98. // writing `if (foo)` where `foo` is the name a function will trigger a warning.
  99. CLANG_WARN_BOOL_CONVERSION = YES
  100. // Suspicious Commas
  101. //
  102. // Warn about suspicious uses of the comma operator.
  103. CLANG_WARN_COMMA = YES
  104. // Implicit Constant Conversions
  105. //
  106. // Warn about implicit conversions of constant values that cause the constant value to
  107. // change, either through a loss of precision, or entirely in its meaning.
  108. CLANG_WARN_CONSTANT_CONVERSION = YES
  109. // Overriding Deprecated Objective-C Methods
  110. //
  111. // Warn if an Objective-C class either subclasses a deprecated class or overrides a
  112. // method that has been marked deprecated or unavailable.
  113. CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
  114. // Direct usage of 'isa'
  115. //
  116. // Warn about direct accesses to the Objective-C `isa` pointer instead of using a runtime
  117. // API.
  118. CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
  119. // Empty Loop Bodies
  120. //
  121. // Warn about loop bodies that are suspiciously empty.
  122. CLANG_WARN_EMPTY_BODY = YES
  123. // Implicit Enum Conversions
  124. //
  125. // Warn about implicit conversions between different kinds of enum values. For example,
  126. // this can catch issues when using the wrong enum flag as an argument to a function or
  127. // method.
  128. CLANG_WARN_ENUM_CONVERSION = YES
  129. // Infinite Recursion
  130. //
  131. // Warn if all paths through a function call itself.
  132. CLANG_WARN_INFINITE_RECURSION = YES
  133. // Implicit Integer to Pointer Conversions
  134. //
  135. // Warn about implicit conversions between pointers and integers. For example, this can
  136. // catch issues when one incorrectly intermixes using `NSNumber*`'s and raw integers.
  137. CLANG_WARN_INT_CONVERSION = YES
  138. // Implicit Non-Literal Null Conversions
  139. //
  140. // Warn about non-literal expressions that evaluate to zero being treated as a null
  141. // pointer.
  142. CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
  143. // Implicit retain of 'self' within blocks
  144. //
  145. // Warn about implicit retains of `self` within blocks, which can create a retain-cycle.
  146. CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
  147. // Implicit Objective-C Literal Conversions
  148. //
  149. // Warn about implicit conversions from Objective-C literals to values of incompatible
  150. // type.
  151. CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
  152. // Unintentional Root Class
  153. //
  154. // Warn about classes that unintentionally do not subclass a root class, such as
  155. // `NSObject`.
  156. CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
  157. // Range-based For Loops
  158. //
  159. // Warn about ranged-based for loops.
  160. CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
  161. // Strict Prototypes
  162. //
  163. // Warn about non-prototype declarations.
  164. CLANG_WARN_STRICT_PROTOTYPES = YES
  165. // Suspicious Moves
  166. //
  167. // Warn about suspicious uses of `std::move`.
  168. CLANG_WARN_SUSPICIOUS_MOVE = YES
  169. // Unreachable Code
  170. //
  171. // Warns about potentially unreachable code.
  172. CLANG_WARN_UNREACHABLE_CODE = YES
  173. // Documentation Comments
  174. //
  175. // Warns about issues in documentation comments (`doxygen`-style) such as missing or
  176. // incorrect documentation tags.
  177. CLANG_WARN_DOCUMENTATION_COMMENTS = YES
  178. // Unguarded availability
  179. //
  180. // Warn if an API that is newer than the deployment target is used without "if
  181. // (@available(...))" guards.
  182. CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
  183. CODE_SIGNING_REQUIRED = NO
  184. // Current Project Version
  185. //
  186. // This setting defines the current version of the project. The value must be a integer
  187. // or floating point number, such as `57` or `365.8`.
  188. CURRENT_PROJECT_VERSION = 1
  189. // Debug Information Format
  190. //
  191. // The type of debug information to produce.
  192. //
  193. // * *DWARF:* Object files and linked products will use DWARF as the debug information
  194. // format. [dwarf]
  195. // * *DWARF with dSYM File:* Object files and linked products will use DWARF as the debug
  196. // information format, and Xcode will also produce a dSYM file containing the debug
  197. // information from the individual object files (except that a dSYM file is not needed
  198. // and will not be created for static library or object file products). [dwarf-with-dsym]
  199. DEBUG_INFORMATION_FORMAT = dwarf
  200. // Defines Module
  201. //
  202. // If enabled, the product will be treated as defining its own module. This enables
  203. // automatic production of LLVM module map files when appropriate, and allows the product
  204. // to be imported as a module.
  205. DEFINES_MODULE = YES
  206. // Enable Strict Checking of objc_msgSend Calls
  207. //
  208. // Controls whether `objc_msgSend` calls must be cast to the appropriate function pointer
  209. // type before being called.
  210. ENABLE_STRICT_OBJC_MSGSEND = YES
  211. // C Language Dialect
  212. //
  213. // Choose a standard or non-standard C language dialect.
  214. //
  215. // * *ANSI C:* Accept ISO C90 and ISO C++, turning off GNU extensions that are
  216. // incompatible. [-ansi]
  217. // Incompatible GNU extensions include the `asm`, `inline`, and `typeof` keywords (but
  218. // not the equivalent `\_\_asm\_\_`, `\_\_inline\_\_`, and `\_\_typeof\_\_` forms), and
  219. // the `//` syntax for comments.
  220. // This setting also enables trigraphs.
  221. // * *C89:* Accept ISO C90 (1990), but not GNU extensions. [-std=c89]
  222. // * *GNU89:* Accept ISO C90 and GNU extensions. [-std=gnu89]
  223. // * *C99:* Accept ISO C99 (1999), but not GNU extensions. [-std=c99]
  224. // * *GNU99:* Accept ISO C99 and GNU extensions. [-std=gnu99]
  225. // * *C11:* Accept ISO C11 (2011), but not GNU extensions. [-std=c11]
  226. // * *GNU11:* Accept ISO C11 and GNU extensions. [-std=gnu11]
  227. // * *Compiler Default:* Tells the compiler to use its default C language dialect. This
  228. // is normally the best choice unless you have specific needs. (Currently equivalent to
  229. // GNU99.)
  230. GCC_C_LANGUAGE_STANDARD = gnu99
  231. // No Common Blocks
  232. //
  233. // In C, allocate even uninitialized global variables in the data section of the object
  234. // file, rather than generating them as common blocks. This has the effect that if the
  235. // same variable is declared (without `extern`) in two different compilations, you will
  236. // get an error when you link them.
  237. GCC_NO_COMMON_BLOCKS = YES
  238. // Implicit Conversion to 32 Bit Type
  239. //
  240. // Warn if a value is implicitly converted from a 64-bit type to a 32-bit type. This is a
  241. // subset of the warnings provided by -Wconversion.
  242. GCC_WARN_64_TO_32_BIT_CONVERSION = YES
  243. // Mismatched Return Type
  244. //
  245. // Causes warnings to be emitted when a function with a defined return type (not `void`)
  246. // contains a return statement without a return-value. Also emits a warning when a
  247. // function is defined without specifying a return type.
  248. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
  249. // Undeclared Selector
  250. //
  251. // Warn if a `@selector(...)` expression referring to an undeclared selector is found. A
  252. // selector is considered undeclared if no method with that name has been declared before
  253. // the `@selector(...)` expression, either explicitly in an `@interface` or `@protocol`
  254. // declaration, or implicitly in an `@implementation` section. This option always
  255. // performs its checks as soon as a `@selector(...)` expression is found, while
  256. // `-Wselector` only performs its checks in the final stage of compilation. This also
  257. // enforces the coding style convention that methods and selectors must be declared
  258. // before being used.
  259. GCC_WARN_UNDECLARED_SELECTOR = YES
  260. // Uninitialized Variables
  261. //
  262. // Warn if a variable might be clobbered by a `setjmp` call or if an automatic variable
  263. // is used without prior initialization.
  264. //
  265. // The compiler may not detect all cases where an automatic variable is initialized or
  266. // all usage patterns that may lead to use prior to initialization. You can toggle
  267. // between the normal uninitialized value checking or the more aggressive (conservative)
  268. // checking, which finds more issues but the checking is much stricter.
  269. GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
  270. // Unused Functions
  271. //
  272. // Warn whenever a static function is declared but not defined or a noninline static
  273. // function is unused.
  274. GCC_WARN_UNUSED_FUNCTION = YES
  275. // Unused Labels
  276. //
  277. // Warn whenever a label is declared but not used.
  278. GCC_WARN_UNUSED_LABEL = YES
  279. // Unused Variables
  280. //
  281. // Warn whenever a local variable or nonconstant static variable is unused aside from its
  282. // declaration.
  283. GCC_WARN_UNUSED_VARIABLE = YES
  284. IPHONEOS_DEPLOYMENT_TARGET = 9.0
  285. // macOS Deployment Target
  286. //
  287. // Code will load on this and later versions of macOS. Framework APIs that are
  288. // unavailable in earlier versions will be weak-linked; your code should check for `null`
  289. // function pointers or specific system versions before calling newer APIs.
  290. MACOSX_DEPLOYMENT_TARGET = 10.10
  291. // Supported Platforms
  292. //
  293. // The list of supported platforms from which a base SDK can be used. This setting is
  294. // used if the product can be built for multiple platforms using different SDKs.
  295. SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx appletvos watchos appletvsimulator watchsimulator
  296. SWIFT_COMPILATION_MODE = wholemodule
  297. // Swift Language Version
  298. //
  299. //
  300. SWIFT_VERSION = 4.0
  301. // Targeted Device Family
  302. //
  303. // The build system uses the selected device to set the correct value for the
  304. // `UIDeviceFamily` key it adds to the target's `Info.plist` file. This also drives the
  305. // --target-device flag to actool, which determines the idioms selected during catalog
  306. // compilation for iOS platforms.
  307. TARGETED_DEVICE_FAMILY = 1,2,3,4
  308. TVOS_DEPLOYMENT_TARGET = 9.0
  309. // Versioning Name Prefix
  310. //
  311. // Used as a prefix for the name of the version info symbol in the generated versioning
  312. // source file. If you prefix your exported symbols you will probably want to set this to
  313. // the same prefix.
  314. VERSION_INFO_PREFIX =
  315. // Versioning System
  316. //
  317. // Selects the process used for version-stamping generated files.
  318. //
  319. // * *None:* Use no versioning system.
  320. // * *Apple Generic:* Use the current project version setting. [apple-generic]
  321. VERSIONING_SYSTEM = apple-generic
  322. WATCHOS_DEPLOYMENT_TARGET = 2.0