-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yml
107 lines (107 loc) · 2.94 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: iOSBaseProject
options:
deploymentTarget:
iOS: 13.0
configs:
Debug: debug
Release: release
settings:
base:
ALWAYS_SEARCH_USER_PATHS: NO
GENERATE_INFOPLIST_FILE: YES
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG
Release:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: RELEASE
targets:
iOSBaseProject:
type: application
platform: iOS
sources:
- iOSBaseProject
settings:
base:
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
INFOPLIST_FILE: iOSBaseProject/Info.plist
INFOPLIST_KEY_UILaunchStoryboardName: LaunchScreen
INFOPLIST_KEY_UIRequiresFullScreen: YES
INFOPLIST_KEY_UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
MARKETING_VERSION: 1.0
PRODUCT_BUNDLE_IDENTIFIER: com.huypham.iOSBaseProject
PRODUCT_NAME: '$(TARGET_NAME)'
TARGETED_DEVICE_FAMILY: '1,2'
SDKROOT: iphoneos
iOSBaseProjectTests:
type: bundle.unit-test
platform: iOS
sources:
- iOSBaseProjectTests
dependencies:
- target: iOSBaseProject
settings:
base:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: YES
BUNDLE_LOADER: '$(TEST_HOST)'
CODE_SIGN_STYLE: Automatic
GENERATE_INFOPLIST_FILE: YES
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: 1.0
PRODUCT_BUNDLE_IDENTIFIER: com.huypham.iOSBaseProjectTests
PRODUCT_NAME: '$(TARGET_NAME)'
TEST_HOST: '$(BUILT_PRODUCTS_DIR)/iOSBaseProject.app/iOSBaseProject'
TARGETED_DEVICE_FAMILY: '1,2'
SDKROOT: iphoneos
SWIFT_EMIT_LOC_STRINGS: NO
SWIFT_VERSION: 5.0
iOSBaseProjectUITests:
type: bundle.ui-testing
platform: iOS
sources:
- iOSBaseProjectUITests
dependencies:
- target: iOSBaseProject
settings:
base:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: YES
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
GENERATE_INFOPLIST_FILE: YES
MARKETING_VERSION: 1.0
PRODUCT_BUNDLE_IDENTIFIER: com.huypham.iOSBaseProjectUITests
PRODUCT_NAME: '$(TARGET_NAME)'
SWIFT_EMIT_LOC_STRINGS: NO
SWIFT_VERSION: 5.0
TARGETED_DEVICE_FAMILY: '1,2'
TEST_TARGET_NAME: iOSBaseProject
SDKROOT: iphoneos
schemes:
iOSBaseProject:
build:
targets:
iOSBaseProject: all
iOSBaseProjectTests:
- test
iOSBaseProjectUITests:
- test
analyze:
config: Debug
archive:
config: Release
profile:
config: Debug
run:
config: Debug
test:
config: Debug
coverageTargets:
- iOSBaseProject
gatherCoverageData: true
targets:
- iOSBaseProjectTests
- iOSBaseProjectUITests