-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathproject.yml
More file actions
425 lines (410 loc) · 12.2 KB
/
project.yml
File metadata and controls
425 lines (410 loc) · 12.2 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
name: QwenVoice
options:
bundleIdPrefix: com.qwenvoice
deploymentTarget:
macOS: "26.0"
iOS: "26.0"
xcodeVersion: "26.0"
generateEmptyDirectories: true
packages:
GRDB:
url: https://github.com/groue/GRDB.swift
exactVersion: "7.10.0"
MLXAudio:
path: third_party_patches/mlx-audio-swift
MLXSwift:
url: https://github.com/ml-explore/mlx-swift.git
exactVersion: "0.30.6"
SwiftHuggingFace:
url: https://github.com/huggingface/swift-huggingface.git
exactVersion: "0.9.0"
schemes:
QwenVoice:
build:
targets:
QwenVoice: all
run:
config: Debug
archive:
config: Release
QwenVoice Foundation:
build:
targets:
QwenVoice: all
test:
config: Debug
gatherCoverageData: false
testPlans:
- path: tests/Plans/QwenVoiceSource.xctestplan
defaultPlan: true
- path: tests/Plans/QwenVoiceRuntime.xctestplan
run:
config: Debug
archive:
config: Release
VocelloiOS:
build:
targets:
VocelloiOS: all
run:
config: Debug
archive:
config: Release
VocelloiOS Foundation:
build:
targets:
VocelloiOS: all
test:
config: Debug
gatherCoverageData: false
testPlans:
- path: tests/Plans/VocelloiOSFoundation.xctestplan
defaultPlan: true
run:
config: Debug
archive:
config: Release
Vocello UI:
build:
targets:
QwenVoice: all
VocelloUITests: test
test:
config: Debug
gatherCoverageData: false
testPlans:
- path: tests/Plans/VocelloUISmoke.xctestplan
defaultPlan: true
run:
config: Debug
targets:
QwenVoice:
type: application
platform: macOS
sources:
- path: Sources
excludes:
- "QwenVoiceCore"
- "QwenVoiceCore/**"
- "QwenVoiceEngineService"
- "QwenVoiceEngineService/**"
- "QwenVoiceEngineSupport"
- "QwenVoiceEngineSupport/**"
- "iOS"
- "iOS/**"
- "iOSEngineExtension"
- "iOSEngineExtension/**"
- "iOSSupport"
- "iOSSupport/**"
- "QwenVoiceNative"
- "QwenVoiceNative/**"
- "Resources/ffmpeg"
- "Resources/ffmpeg/**"
- "Resources/vendor"
- "Resources/vendor/**"
- "Resources/**/*.whl"
- "Resources/**/__pycache__/**"
- "Resources/**/*.pyc"
resources:
- path: Sources/Resources
buildPhase: resources
excludes:
- "ffmpeg"
- "vendor"
- "vendor/**"
- "**/*.whl"
- "**/__pycache__/**"
- "**/*.pyc"
- path: Sources/Assets.xcassets
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.app
PRODUCT_NAME: Vocello
WRAPPER_NAME: Vocello.app
# Keep the Swift module name as QwenVoice so sibling modules that assume
# the QwenVoice namespace still resolve after the on-disk rename to Vocello.app.
PRODUCT_MODULE_NAME: QwenVoice
MARKETING_VERSION: "1.2.3"
CURRENT_PROJECT_VERSION: "15"
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
INFOPLIST_FILE: Sources/Info.plist
INFOPLIST_KEY_CFBundleDisplayName: Vocello
CODE_SIGN_ENTITLEMENTS: Sources/QwenVoice.entitlements
CODE_SIGN_IDENTITY: "-"
ENABLE_HARDENED_RUNTIME: YES
COMBINE_HIDPI_IMAGES: YES
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) QW_UI_LIQUID QW_TEST_SUPPORT"
Release:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: QW_UI_LIQUID
dependencies:
- package: GRDB
- target: QwenVoiceCore
- target: QwenVoiceEngineService
- target: QwenVoiceEngineSupport
- target: QwenVoiceNative
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
QwenVoiceNative:
type: framework.static
platform: macOS
sources:
- path: Sources/QwenVoiceNative
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.native
PRODUCT_NAME: QwenVoiceNative
PRODUCT_MODULE_NAME: QwenVoiceNative
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) QW_TEST_SUPPORT"
dependencies:
- target: QwenVoiceCore
- target: QwenVoiceEngineSupport
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
QwenVoiceEngineSupport:
type: framework.static
platform: macOS
sources:
- path: Sources/QwenVoiceEngineSupport
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.engine-support
PRODUCT_NAME: QwenVoiceEngineSupport
PRODUCT_MODULE_NAME: QwenVoiceEngineSupport
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) QW_TEST_SUPPORT"
dependencies:
- target: QwenVoiceCore
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
QwenVoiceCore:
type: framework.static
supportedDestinations: [iOS, macOS]
sources:
- path: Sources/QwenVoiceCore
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qvoice.core
PRODUCT_NAME: QwenVoiceCore
PRODUCT_MODULE_NAME: QwenVoiceCore
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
SWIFT_OBJC_BRIDGING_HEADER: Sources/QwenVoiceCore/QwenVoiceCore-Bridging-Header.h
dependencies:
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
QwenVoiceEngineService:
type: xpc-service
platform: macOS
sources:
- path: Sources/QwenVoiceEngineService
- path: Sources/Resources/qwenvoice_contract.json
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.app.engine-service
PRODUCT_NAME: QwenVoiceEngineService
PRODUCT_MODULE_NAME: QwenVoiceEngineService
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
INFOPLIST_FILE: Sources/QwenVoiceEngineService/Info.plist
CODE_SIGN_ENTITLEMENTS: Sources/QwenVoice.entitlements
GENERATE_INFOPLIST_FILE: NO
dependencies:
- target: QwenVoiceCore
- target: QwenVoiceEngineSupport
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
QwenVoiceTests:
type: bundle.unit-test
platform: macOS
sources:
- path: QwenVoiceTests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.tests
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Vocello.app/Contents/MacOS/Vocello"
BUNDLE_LOADER: "$(TEST_HOST)"
dependencies:
- target: QwenVoice
- target: QwenVoiceCore
- target: QwenVoiceNative
- target: QwenVoiceEngineSupport
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
VocelloEngineExtension:
type: extensionkit-extension
platform: iOS
sources:
- path: Sources/iOSEngineExtension
resources:
- path: Sources/Resources/qwenvoice_contract.json
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qvoice.ios.engine-extension
PRODUCT_NAME: VocelloEngineExtension
PRODUCT_MODULE_NAME: VocelloEngineExtension
MARKETING_VERSION: "1.2.3"
CURRENT_PROJECT_VERSION: "15"
SWIFT_VERSION: "6"
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Sources/iOSEngineExtension/Info.plist
CODE_SIGN_ENTITLEMENTS: Sources/iOSEngineExtension/VocelloEngineExtension.entitlements
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: $(QWENVOICE_DEVELOPMENT_TEAM)
dependencies:
- target: QwenVoiceCore
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
VocelloiOS:
type: application
platform: iOS
sources:
- path: Sources/iOS
- path: Sources/iOSSupport
- path: Sources/SharedSupport
resources:
- path: Sources/iOS/LaunchScreen.storyboard
buildPhase: resources
- path: Sources/Resources/qwenvoice_contract.json
buildPhase: resources
- path: Sources/Assets.xcassets
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qvoice.ios
PRODUCT_NAME: Vocello
PRODUCT_MODULE_NAME: QVoiceiOS
EXECUTABLE_NAME: Vocello
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: $(QWENVOICE_DEVELOPMENT_TEAM)
QVOICE_IOS_DEFAULT_MODEL_CATALOG_URL: https://downloads.qvoice.app/ios/catalog/v1/models.json
INFOPLIST_KEY_QVoiceModelCatalogURL: $(QVOICE_IOS_DEFAULT_MODEL_CATALOG_URL)
INFOPLIST_KEY_CFBundleDisplayName: Vocello
MARKETING_VERSION: "1.2.3"
CURRENT_PROJECT_VERSION: "15"
SWIFT_VERSION: "6"
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Sources/iOS/Info.plist
CODE_SIGN_ENTITLEMENTS: Sources/iOS/VocelloiOS.entitlements
INFOPLIST_KEY_UILaunchStoryboardName: LaunchScreen
ASSETCATALOG_COMPILER_APPICON_NAME: VocelloIOSIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
SUPPORTS_MACCATALYST: NO
TARGETED_DEVICE_FAMILY: "1"
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) QW_TEST_SUPPORT"
dependencies:
- package: GRDB
- target: QwenVoiceCore
- target: VocelloEngineExtension
embed: true
- package: MLXAudio
product: MLXAudioCore
- package: MLXAudio
product: MLXAudioTTS
- package: MLXSwift
product: MLX
- package: SwiftHuggingFace
product: HuggingFace
VocelloUITests:
type: bundle.ui-testing
platform: macOS
sources:
- path: VocelloUITests
resources:
- path: Sources/Resources/qwenvoice_contract.json
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qwenvoice.uitests
SWIFT_VERSION: "6"
MACOSX_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
TEST_TARGET_NAME: QwenVoice
dependencies:
- target: QwenVoice
VocelloiOSTests:
type: bundle.unit-test
platform: iOS
sources:
- path: VocelloiOSTests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.qvoice.ios.tests
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: $(QWENVOICE_DEVELOPMENT_TEAM)
SWIFT_VERSION: "6"
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
GENERATE_INFOPLIST_FILE: YES
TEST_TARGET_NAME: VocelloiOS
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Vocello.app/Vocello"
BUNDLE_LOADER: "$(TEST_HOST)"
dependencies:
- target: VocelloiOS
- target: QwenVoiceCore