Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Commit e0edbd5

Browse files
committed
Setting Presets for Xcode project generation
1 parent 4e3d470 commit e0edbd5

23 files changed

Lines changed: 125 additions & 0 deletions

SettingPresets/Configs/debug.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
# Settings take from the following file and sorted
3+
# /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Base/Base_ProjectSettings.xctemplate/TemplateInfo.plist
4+
DEBUG_INFORMATION_FORMAT: dwarf
5+
ENABLE_TESTABILITY: YES
6+
GCC_DYNAMIC_NO_PIC: NO
7+
GCC_OPTIMIZATION_LEVEL: '0'
8+
GCC_PREPROCESSOR_DEFINITIONS: ["$(inherited)", "DEBUG=1"]
9+
MTL_ENABLE_DEBUG_INFO: INCLUDE_SOURCE
10+
ONLY_ACTIVE_ARCH: YES
11+
12+
# Swift Settings
13+
SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG
14+
SWIFT_OPTIMIZATION_LEVEL: -Onone

SettingPresets/Configs/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
# Settings take from the following file and sorted
3+
# /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Base/Base_ProjectSettings.xctemplate/TemplateInfo.plist
4+
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
5+
ENABLE_NS_ASSERTIONS: NO
6+
MTL_ENABLE_DEBUG_INFO: NO
7+
8+
# Swift Settings
9+
SWIFT_COMPILATION_MODE: wholemodule
10+
SWIFT_OPTIMIZATION_LEVEL: -O

SettingPresets/Platforms/iOS.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/Frameworks"]
2+
SDKROOT: iphoneos
3+
TARGETED_DEVICE_FAMILY: '1,2'

SettingPresets/Platforms/macOS.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/../Frameworks"]
2+
SDKROOT: macosx
3+
COMBINE_HIDPI_IMAGES: 'YES'

SettingPresets/Platforms/tvOS.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TARGETED_DEVICE_FAMILY: 3
2+
LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/Frameworks"]
3+
SDKROOT: appletvos
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SDKROOT: watchos
2+
SKIP_INSTALL: 'YES'
3+
TARGETED_DEVICE_FAMILY: 4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/../Frameworks", "@executable_path/../../../../Frameworks"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CODE_SIGN_IDENTITY: iPhone Developer
2+
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ASSETCATALOG_COMPILER_APPICON_NAME: App Icon & Top Shelf Image
2+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME: LaunchImage

0 commit comments

Comments
 (0)