Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
218 lines (210 loc) · 7.17 KB
/
Copy pathproject.yml
File metadata and controls
218 lines (210 loc) · 7.17 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
# DualCast — dual-display NDI screen capture + NDI switcher relay
# Regenerate the Xcode project after editing: xcodegen generate
#
# Targets:
# DualCast (sender, runs on the coding Mac) — captures each display
# as an independent NDI source.
# DualCastSwitcher (relay, runs on the streaming Mac) — receives both
# sources and re-broadcasts the selected one as a
# single NDI output for Ecamm Live.
name: DualCast
options:
bundleIdPrefix: com.woodseedigi
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
settings:
base:
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: ""
MARKETING_VERSION: "0.4.0"
CURRENT_PROJECT_VERSION: "4"
configs:
Release:
# Distributable builds sign with Developer ID (Debug stays Apple Development).
# Manual style + no provisioning profile: correct for an unsandboxed,
# hardened-runtime Developer ID app.
CODE_SIGN_IDENTITY: "Developer ID Application"
CODE_SIGN_STYLE: Manual
PROVISIONING_PROFILE_SPECIFIER: ""
targets:
DualCast:
type: application
platform: macOS
sources:
- path: Sources/DualCast
- path: Sources/Shared
- path: Vendor
buildPhase: none
info:
path: Resources/Info.plist
properties:
CFBundleName: DualCast
CFBundleDisplayName: DualCast
CFBundleIconFile: DualCast.icns
CFBundlePackageType: APPL
NSPrincipalClass: NSApplication
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: "woodsee"
NSCameraUsageDescription: "DualCast publishes your cameras as NDI sources on the local network."
NSMicrophoneUsageDescription: "DualCast captures system audio and attaches it to the selected display stream."
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.woodseedigi.DualCast
PRODUCT_NAME: DualCast
DEVELOPMENT_TEAM: ""
CODE_SIGN_ENTITLEMENTS: "$(SRCROOT)/Resources/DualCast.entitlements"
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/Vendor/NDI/DualCast-Bridging-Header.h"
HEADER_SEARCH_PATHS:
- "$(SRCROOT)/Vendor/NDI/include"
- "$(SRCROOT)/Sources/Shared"
LIBRARY_SEARCH_PATHS:
- "$(inherited)"
- "$(SRCROOT)/Vendor/NDI"
LD_RUNPATH_SEARCH_PATHS:
- "$(inherited)"
- "@executable_path/../Frameworks"
dependencies:
- framework: Vendor/NDI/libndi.dylib
embed: true
codeSign: true
DualCastCameraExtension:
type: extensionkit-extension
platform: macOS
sources:
- path: Sources/CameraExtension
- path: Sources/Shared
- path: Vendor
buildPhase: none
info:
path: Resources/CameraExtensionInfo.plist
properties:
CFBundleName: DualCast Virtual Camera
CFBundleDisplayName: DualCast Virtual Camera
CFBundlePackageType: XPC!
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: "woodsee"
NSExtension:
NSExtensionPointIdentifier: com.apple.cmio.DPA.camera
NSExtensionPrincipalClass: DualCastCameraExtension.CameraExtensionProviderSource
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.woodseedigi.DualCastSwitcher.CameraExtension
PRODUCT_NAME: DualCastCameraExtension
DEVELOPMENT_TEAM: ""
CODE_SIGN_ENTITLEMENTS: "$(SRCROOT)/Resources/CameraExtension.entitlements"
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/Vendor/NDI/DualCast-Bridging-Header.h"
HEADER_SEARCH_PATHS:
- "$(SRCROOT)/Vendor/NDI/include"
- "$(SRCROOT)/Sources/Shared"
LIBRARY_SEARCH_PATHS:
- "$(inherited)"
- "$(SRCROOT)/Vendor/NDI"
LD_RUNPATH_SEARCH_PATHS:
- "$(inherited)"
- "@executable_path"
- "@executable_path/../../../../Frameworks"
dependencies:
- sdk: CoreMediaIO.framework
- framework: Vendor/NDI/libndi.dylib
embed: true
codeSign: true
DualCastSwitcher:
type: application
platform: macOS
sources:
- path: Sources/Switcher
- path: Sources/Shared
- path: scripts/install-audio-driver.sh
- path: Vendor
buildPhase: none
info:
path: Resources/SwitcherInfo.plist
properties:
CFBundleName: DualCast Switcher
CFBundleDisplayName: DualCast Switcher
CFBundleIconFile: DualCastSwitcher.icns
CFBundleExecutable: DualCastSwitcher
CFBundlePackageType: APPL
NSPrincipalClass: NSApplication
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: "woodsee"
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.woodseedigi.DualCastSwitcher
PRODUCT_NAME: DualCastSwitcher
DEVELOPMENT_TEAM: ""
CODE_SIGN_ENTITLEMENTS: "$(SRCROOT)/Resources/Switcher.entitlements"
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/Vendor/NDI/DualCast-Bridging-Header.h"
HEADER_SEARCH_PATHS:
- "$(SRCROOT)/Vendor/NDI/include"
- "$(SRCROOT)/Sources/Shared"
LIBRARY_SEARCH_PATHS:
- "$(inherited)"
- "$(SRCROOT)/Vendor/NDI"
LD_RUNPATH_SEARCH_PATHS:
- "$(inherited)"
- "@executable_path/../Frameworks"
dependencies:
- framework: Vendor/NDI/libndi.dylib
embed: true
codeSign: true
- framework: Vendor/Syphon/Syphon.framework
embed: true
codeSign: true
- target: DualCastCameraExtension
embed: true
- target: DualCastAudioDriver
embed: false
- sdk: SystemExtensions.framework
DualCastAudioDriver:
type: bundle
platform: macOS
sources:
- path: Sources/AudioDriver
- path: Sources/Shared/DualCastAudioRingBuffer.c
info:
path: Resources/AudioDriverInfo.plist
properties:
CFBundleName: DualCast Audio
CFBundleDisplayName: DualCast Audio
CFBundlePackageType: BNDL
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: "woodsee"
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.woodseedigi.DualCastSwitcher.AudioDriver
PRODUCT_NAME: DualCastAudioDriver
DEVELOPMENT_TEAM: ""
WRAPPER_EXTENSION: driver
MACH_O_TYPE: mh_bundle
INFOPLIST_FILE: "$(SRCROOT)/Resources/AudioDriverInfo.plist"
GENERATE_INFOPLIST_FILE: NO
CODE_SIGN_ENTITLEMENTS: "$(SRCROOT)/Resources/AudioDriver.entitlements"
HEADER_SEARCH_PATHS:
- "$(SRCROOT)/Sources/AudioDriver"
- "$(SRCROOT)/Sources/Shared"
CLANG_MODULES_AUTOLINK: NO
OTHER_LDFLAGS:
- "-Wl,-exported_symbol,_AudioServerPlugInFactory"
dependencies:
- sdk: CoreAudio.framework
- sdk: CoreFoundation.framework
# Explicit schemes ensure xcodegen creates them even on machines where
# automatic scheme generation behaves differently.
schemes:
DualCast:
build:
targets:
DualCast: all
DualCastSwitcher:
build:
targets:
DualCastSwitcher: all
DualCastAudioDriver:
build:
targets:
DualCastAudioDriver: all