Skip to content

Commit a41ca2a

Browse files
committed
Add AUv3 validation
1 parent ad92b8f commit a41ca2a

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

.github/workflows/build-mac.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,24 @@ jobs:
182182
set -eo pipefail
183183
./validate_audiounit.sh config.h
184184
185+
- name: Test AUv3 with auval
186+
shell: bash
187+
run: |
188+
set -eo pipefail
189+
APPEX_PATH="./${{env.PROJECT_NAME}}.app/Contents/PlugIns/${{env.PROJECT_NAME}}AUv3.appex"
190+
if [ -d "$APPEX_PATH" ]; then
191+
echo "Found AUv3 appex at $APPEX_PATH"
192+
echo "Registering with pluginkit..."
193+
pluginkit -a "$APPEX_PATH"
194+
sleep 2
195+
pgrep -x AudioComponentRegistrar >/dev/null && killall -9 AudioComponentRegistrar; echo "killed AudioComponentRegistrar" || echo "AudioComponentRegistrar not running"
196+
sleep 2
197+
echo "Running auval for AUv3..."
198+
./validate_audiounit.sh config.h
199+
else
200+
echo "No AUv3 appex found at $APPEX_PATH - skipping AUv3 validation"
201+
fi
202+
185203
# - name: Test AUv2 with auval (RTSafe)
186204
# shell: bash
187205
# run: |

TemplateProject/projects/TemplateProject-macOS.xcodeproj/project.pbxproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
buildPhases = (
1414
);
1515
dependencies = (
16+
4F2181902EF1710600FD6EB6 /* PBXTargetDependency */,
1617
4F61D8582D7482DA00578AA8 /* PBXTargetDependency */,
17-
4F06F18623566DC800FD0962 /* PBXTargetDependency */,
1818
4F78DAFA13B6436B0032E0F3 /* PBXTargetDependency */,
1919
4F9828F8140A9F0200F3FCC1 /* PBXTargetDependency */,
2020
);
@@ -267,12 +267,12 @@
267267
/* End PBXBuildFile section */
268268

269269
/* Begin PBXContainerItemProxy section */
270-
4F06F18523566DC800FD0962 /* PBXContainerItemProxy */ = {
270+
4F21818F2EF1710600FD6EB6 /* PBXContainerItemProxy */ = {
271271
isa = PBXContainerItemProxy;
272272
containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
273273
proxyType = 1;
274-
remoteGlobalIDString = 4FD16A0813B63081001D0217;
275-
remoteInfo = APP;
274+
remoteGlobalIDString = 4F3EE1BA231438D000004786;
275+
remoteInfo = AUv3App;
276276
};
277277
4F3EE1BC231438D000004786 /* PBXContainerItemProxy */ = {
278278
isa = PBXContainerItemProxy;
@@ -2508,10 +2508,10 @@
25082508
/* End PBXSourcesBuildPhase section */
25092509

25102510
/* Begin PBXTargetDependency section */
2511-
4F06F18623566DC800FD0962 /* PBXTargetDependency */ = {
2511+
4F2181902EF1710600FD6EB6 /* PBXTargetDependency */ = {
25122512
isa = PBXTargetDependency;
2513-
target = 4FD16A0813B63081001D0217 /* APP */;
2514-
targetProxy = 4F06F18523566DC800FD0962 /* PBXContainerItemProxy */;
2513+
target = 4F3EE1BA231438D000004786 /* AUv3App */;
2514+
targetProxy = 4F21818F2EF1710600FD6EB6 /* PBXContainerItemProxy */;
25152515
};
25162516
4F3EE1BB231438D000004786 /* PBXTargetDependency */ = {
25172517
isa = PBXTargetDependency;

0 commit comments

Comments
 (0)