generated from PrivateFrameworks/.template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.yml
136 lines (136 loc) · 3.01 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: PrivateProtocolBuffer
targetTemplates:
ios:
platform: iOS
deploymentTarget: "8.0"
tvos:
platform: tvOS
deploymentTarget: "9.0"
watchos:
platform: watchOS
deploymentTarget: "2.0"
macos:
platform: macOS
deploymentTarget: "10.10"
framework:
type: framework
dependencies:
- framework: ProtocolBuffer.xcframework/${platform}/ProtocolBuffer.framework
sources:
- Sources
settings:
PRODUCT_BUNDLE_IDENTIFIER: private.protocolbuffer-${platform}
GENERATE_INFOPLIST_FILE: true
PRODUCT_MODULE_NAME: PrivateProtocolBuffer
PRODUCT_NAME: PrivateProtocolBuffer
testTargets:
- Linked tests ${platform}
- Unlinked tests ${platform}
tests:
type: bundle.unit-test
dependencies:
- target: PrivateProtocolBuffer ${platform}
embed: false
sources:
- path: Tests
excludes:
- Linked
- Unlinked
settings:
GENERATE_INFOPLIST_FILE: true
linked tests:
sources:
- Tests/Linked
dependencies:
- framework: ProtocolBuffer.xcframework/${platform}/ProtocolBuffer.framework
embed: false
settings:
PRODUCT_BUNDLE_IDENTIFIER: private.protocolbuffer-${platform}.linked-tests
GCC_PREPROCESSOR_DEFINITIONS: LINKED_TESTS
unlinked tests:
sources:
- Tests/Unlinked
settings:
PRODUCT_BUNDLE_IDENTIFIER: private.protocolbuffer-${platform}.unlinked-tests
GCC_PREPROCESSOR_DEFINITIONS: UNLINKED_TESTS
targets:
PrivateProtocolBuffer ios:
templates:
- ios
- framework
templateAttributes:
platform: ios
Linked tests ios:
templates:
- ios
- tests
- linked tests
templateAttributes:
platform: ios
Unlinked tests ios:
templates:
- ios
- tests
- unlinked tests
templateAttributes:
platform: ios
PrivateProtocolBuffer tvos:
templates:
- tvos
- framework
templateAttributes:
platform: tvos
Linked tests tvos:
templates:
- tvos
- tests
- linked tests
templateAttributes:
platform: tvos
Unlinked tests tvos:
templates:
- tvos
- tests
- unlinked tests
templateAttributes:
platform: tvos
PrivateProtocolBuffer watchos:
templates:
- watchos
- framework
templateAttributes:
platform: watchos
Linked tests watchos:
templates:
- watchos
- tests
- linked tests
templateAttributes:
platform: watchos
Unlinked tests watchos:
templates:
- watchos
- tests
- unlinked tests
templateAttributes:
platform: watchos
PrivateProtocolBuffer macos:
templates:
- macos
- framework
templateAttributes:
platform: macos
Linked tests macos:
templates:
- macos
- tests
- linked tests
templateAttributes:
platform: macos
Unlinked tests macos:
templates:
- macos
- tests
- unlinked tests
templateAttributes:
platform: macos