@@ -272,47 +272,22 @@ module Constants
272
272
'DYLIB_COMPATIBILITY_VERSION' => '1' ,
273
273
'DYLIB_CURRENT_VERSION' => '1' ,
274
274
'DYLIB_INSTALL_NAME_BASE' => '@rpath' ,
275
- 'ENABLE_MODULE_VERIFIER' => 'YES' ,
276
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
277
275
'INSTALL_PATH' => '$(LOCAL_LIBRARY_DIR)/Frameworks' ,
278
- 'MARKETING_VERSION' => '1.0' ,
279
- 'MODULE_VERIFIER_SUPPORTED_LANGUAGES' => 'objective-c objective-c++' ,
280
- 'MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS' => 'gnu17 gnu++20' ,
281
276
'PRODUCT_NAME' => '$(TARGET_NAME:c99extidentifier)' ,
282
277
'SKIP_INSTALL' => 'YES' ,
283
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
284
278
'VERSION_INFO_PREFIX' => '' ,
285
279
'VERSIONING_SYSTEM' => 'apple-generic' ,
286
280
} . freeze ,
287
281
[ :ios , :framework ] => {
288
- 'ENABLE_MODULE_VERIFIER' => 'YES' ,
289
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
290
282
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks @loader_path/Frameworks' ,
291
- 'MARKETING_VERSION' => '1.0' ,
292
283
'TARGETED_DEVICE_FAMILY' => '1,2' ,
293
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
294
284
} . freeze ,
295
285
[ :osx , :framework ] => {
296
286
'COMBINE_HIDPI_IMAGES' => 'YES' ,
297
- 'ENABLE_MODULE_VERIFIER' => 'YES' ,
298
287
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/../Frameworks @loader_path/Frameworks' ,
299
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
300
- } . freeze ,
301
- [ :osx , :framework , :objc ] => {
302
- 'ENABLE_MODULE_VERIFIER' => 'YES' ,
303
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
304
- 'MARKETING_VERSION' => '1.0' ,
305
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
306
- } . freeze ,
307
- [ :osx , :framework , :swift ] => {
308
- 'ENABLE_MODULE_VERIFIER' => 'YES' ,
309
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
310
- 'MARKETING_VERSION' => '1.0' ,
311
- 'MODULE_VERIFIER_SUPPORTED_LANGUAGES' => 'objective-c objective-c++' ,
312
- 'MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS' => 'gnu17 gnu++20' ,
313
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
314
288
} . freeze ,
315
289
[ :watchos , :framework ] => {
290
+ 'APPLICATION_EXTENSION_API_ONLY' => 'YES' ,
316
291
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks @loader_path/Frameworks' ,
317
292
'TARGETED_DEVICE_FAMILY' => '4' ,
318
293
} . freeze ,
@@ -322,8 +297,6 @@ module Constants
322
297
} . freeze ,
323
298
[ :framework , :swift ] => {
324
299
'DEFINES_MODULE' => 'YES' ,
325
- 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES' ,
326
- 'SWIFT_INSTALL_OBJC_HEADER' => 'NO' ,
327
300
} . freeze ,
328
301
[ :osx , :static_library ] => {
329
302
'EXECUTABLE_PREFIX' => 'lib' ,
@@ -353,47 +326,30 @@ module Constants
353
326
[ :application ] => {
354
327
'ASSETCATALOG_COMPILER_APPICON_NAME' => 'AppIcon' ,
355
328
'ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME' => 'AccentColor' ,
356
- 'CURRENT_PROJECT_VERSION' => '1' ,
357
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
358
- 'MARKETING_VERSION' => '1.0' ,
359
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
360
329
} . freeze ,
361
330
[ :ios , :application ] => {
362
331
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks' ,
363
332
'TARGETED_DEVICE_FAMILY' => '1,2' ,
364
333
} . freeze ,
365
- [ :ios , :application , :swift ] => {
366
- 'INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents' => 'YES' ,
367
- 'INFOPLIST_KEY_UIMainStoryboardFile' => 'Main' ,
368
- 'INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad' => 'UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight' ,
369
- 'INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone' => 'UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight' ,
370
- } . freeze ,
371
334
[ :osx , :application ] => {
372
335
'COMBINE_HIDPI_IMAGES' => 'YES' ,
373
- 'CURRENT_PROJECT_VERSION' => '1' ,
374
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
375
336
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/../Frameworks' ,
376
- 'MARKETING_VERSION' => '1.0' ,
377
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
378
337
} . freeze ,
379
338
[ :watchos , :application ] => {
380
- 'ENABLE_PREVIEWS' => 'YES' ,
381
- 'INFOPLIST_KEY_UISupportedInterfaceOrientations' => 'UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown' ,
382
- 'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks' ,
383
339
'SKIP_INSTALL' => 'YES' ,
384
340
'TARGETED_DEVICE_FAMILY' => '4' ,
385
341
} . freeze ,
386
342
[ :tvos , :application ] => {
387
343
'ASSETCATALOG_COMPILER_APPICON_NAME' => 'App Icon & Top Shelf Image' ,
388
- 'INFOPLIST_KEY_UILaunchStoryboardName' => 'LaunchScreen' ,
389
- 'INFOPLIST_KEY_UIMainStoryboardFile' => 'Main' ,
390
- 'INFOPLIST_KEY_UIUserInterfaceStyle' => 'Automatic' ,
391
344
'LD_RUNPATH_SEARCH_PATHS' => '$(inherited) @executable_path/Frameworks' ,
392
345
'TARGETED_DEVICE_FAMILY' => '3' ,
393
346
} . freeze ,
394
347
[ :tvos , :application , :swift ] => {
395
348
'ENABLE_PREVIEWS' => 'YES' ,
396
349
} . freeze ,
350
+ [ :watchos , :application , :swift ] => {
351
+ 'ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES' => 'YES' ,
352
+ } . freeze ,
397
353
[ :bundle ] => {
398
354
'WRAPPER_EXTENSION' => 'bundle' ,
399
355
'SKIP_INSTALL' => 'YES' ,
@@ -402,14 +358,9 @@ module Constants
402
358
'SDKROOT' => 'iphoneos' ,
403
359
} . freeze ,
404
360
[ :osx , :bundle ] => {
405
- 'COMBINE_HIDPI_IMAGES' => 'YES' ,
406
- 'CURRENT_PROJECT_VERSION' => '1' ,
407
- 'GENERATE_INFOPLIST_FILE' => 'YES' ,
408
- 'INFOPLIST_KEY_NSPrincipalClass' => '' ,
409
- 'INSTALL_PATH' => '$(LOCAL_LIBRARY_DIR)/Bundles' ,
410
- 'MARKETING_VERSION' => '1.0' ,
411
- 'SDKROOT' => 'macosx' ,
412
- 'SWIFT_EMIT_LOC_STRINGS' => 'YES' ,
361
+ 'COMBINE_HIDPI_IMAGES' => 'YES' ,
362
+ 'INSTALL_PATH' => '$(LOCAL_LIBRARY_DIR)/Bundles' ,
363
+ 'SDKROOT' => 'macosx' ,
413
364
} . freeze ,
414
365
} . freeze
415
366
@@ -418,10 +369,10 @@ module Constants
418
369
PROJECT_DEFAULT_BUILD_SETTINGS = {
419
370
:all => {
420
371
'ALWAYS_SEARCH_USER_PATHS' => 'NO' ,
421
- 'ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS' => 'YES' ,
422
372
'CLANG_ANALYZER_NONNULL' => 'YES' ,
423
373
'CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION' => 'YES_AGGRESSIVE' ,
424
- 'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++20' ,
374
+ 'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++14' ,
375
+ 'CLANG_CXX_LIBRARY' => 'libc++' ,
425
376
'CLANG_ENABLE_MODULES' => 'YES' ,
426
377
'CLANG_ENABLE_OBJC_ARC' => 'YES' ,
427
378
'CLANG_ENABLE_OBJC_WEAK' => 'YES' ,
@@ -449,16 +400,14 @@ module Constants
449
400
'CLANG_WARN_UNREACHABLE_CODE' => 'YES' ,
450
401
'COPY_PHASE_STRIP' => 'NO' ,
451
402
'ENABLE_STRICT_OBJC_MSGSEND' => 'YES' ,
452
- 'ENABLE_USER_SCRIPT_SANDBOXING' => 'YES' ,
453
- 'GCC_C_LANGUAGE_STANDARD' => 'gnu17' ,
403
+ 'GCC_C_LANGUAGE_STANDARD' => 'gnu11' ,
454
404
'GCC_NO_COMMON_BLOCKS' => 'YES' ,
455
405
'GCC_WARN_64_TO_32_BIT_CONVERSION' => 'YES' ,
456
406
'GCC_WARN_ABOUT_RETURN_TYPE' => 'YES_ERROR' ,
457
407
'GCC_WARN_UNDECLARED_SELECTOR' => 'YES' ,
458
408
'GCC_WARN_UNINITIALIZED_AUTOS' => 'YES_AGGRESSIVE' ,
459
409
'GCC_WARN_UNUSED_FUNCTION' => 'YES' ,
460
410
'GCC_WARN_UNUSED_VARIABLE' => 'YES' ,
461
- 'LOCALIZATION_PREFERS_STRING_CATALOGS' => 'YES' ,
462
411
'MTL_FAST_MATH' => 'YES' ,
463
412
'PRODUCT_NAME' => '$(TARGET_NAME)' ,
464
413
'SWIFT_VERSION' => '5.0' ,
@@ -468,6 +417,7 @@ module Constants
468
417
'ENABLE_NS_ASSERTIONS' => 'NO' ,
469
418
'MTL_ENABLE_DEBUG_INFO' => 'NO' ,
470
419
'SWIFT_COMPILATION_MODE' => 'wholemodule' ,
420
+ 'SWIFT_OPTIMIZATION_LEVEL' => '-O' ,
471
421
} . freeze ,
472
422
:debug => {
473
423
'DEBUG_INFORMATION_FORMAT' => 'dwarf' ,
@@ -477,7 +427,7 @@ module Constants
477
427
'GCC_PREPROCESSOR_DEFINITIONS' => [ 'DEBUG=1' , '$(inherited)' ] ,
478
428
'MTL_ENABLE_DEBUG_INFO' => 'INCLUDE_SOURCE' ,
479
429
'ONLY_ACTIVE_ARCH' => 'YES' ,
480
- 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'DEBUG $(inherited) ' ,
430
+ 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'DEBUG' ,
481
431
'SWIFT_OPTIMIZATION_LEVEL' => '-Onone' ,
482
432
} . freeze ,
483
433
} . freeze
0 commit comments