Debugging AudioServerPlugin on AppleSilicon Monterey
Debugging AudioServerPlugin on AppleSilicon Monterey
- Subject: Debugging AudioServerPlugin on AppleSilicon Monterey
- From: Bertrand Van Kempen via Coreaudio-api <email@hidden>
- Date: Sun, 27 Mar 2022 15:02:05 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=merging.com; dmarc=pass action=none header.from=merging.com; dkim=pass header.d=merging.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FozIsaWaNbw0Wz5Dbz/Gyir2bhRPy09G528Ws0iIh64=; b=NuJwDFG8p+IXgsEfoTAXWKWCPt660HjjxPgChkcQdMzLNkJhm05O/lCNu+YFZ2FgN8Q7L+dAoNMd1vdsEXgNUAzW6vYFGevd1j4QeBqNej3urEJrCYdUIZWG4LvIvupgFlQ3ksIDBr7ffcHJFtA1T0qte6nidIOaZT2yqk+TY2/K8Bx3hNjRw2+xGE/d3WVWbUVjgWPUNFOrfy+OJKqqzar2TeWfqAqH7E7z9FHmlTCg/wcobLAAw4vYl0Lgm7GGcjtgy8an5dXqRP/Pmky9ZMcdSInFFYpNDtgix05ss7xhEbEEyP68KIh7HfPDur16ME9fVrNxOFxxEXnrFQetxA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZRW6BjzX2TNFQD7NVHqKCskLcbEElUVMa5xpumcf4W/h50TfRAo/n7AON1MSJw2da3sC/5nVHz8RFUEkBduFnL7ZzhxM4cmf5ibIIxMQY2cEZgyTZbtnIalZHTvQ96Of00sC7dYRKG4ZOAuSsUEtz3yJOftez4ToaNqFAkT00gv9rrejbjYEQvhxgwUSteAaEKEepolD79bXHGl39L9d7kYGtZTzCx2x4NnvST6WAAd6FV3oPcu4Hs8IlBzL3t9+rW4EgRxRojcP2+YRVMnc0LCxujRC9i9LCRkzuEprwduH8ZzM4syFcwHzdpjX8S2xjJZnE3zsdnauU9iTgaW12w==
- Thread-topic: Debugging AudioServerPlugin on AppleSilicon Monterey
Hi,
Since I upgraded my dev machine to a Mac Book Pro 16" M1 Pro, I'm no longer
able to debug my CoreAudio AudioServerPlugin.
On my Catalina dev machine (Intel), I do the following to debug the
AudioServerPlugin:
1. launch the plugin form Xcode (process coreaudiod, root, "wait for the
executable to be launched"
2. sudo launchctl remove com.apple.audio.coreaudiod
3. sudo launchctl load
/System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
I suppose it is because coreaudiod is no longer executing the AudioServerPlugin
and delegates the execution to
/System/Library/Frameworks/CoreAudio.framework/Versions/A/XPCServices/com.apple.audio.Core-Audio-Driver-Service.helper.xpc/Contents/MacOS/com.apple.audio.Core-Audio-Driver-Service.helper.
I tried to modify the Xcode scheme to wait on
com.apple.audio.Core-Audio-Driver-Service.xpc but without any success.
How do you do to debug your AudioServerPlugin from Xcode?
Cheer,
Bertrand
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden