Hi all,
I've seen that many start/stop coreaudiod outside Xcode when debugging
their AudioServerPlugin.
Here's a neat tip that makes life a lot easier:
1. Setup the "Wait for executable..." as usual.
2. In the Debug scheme, expand so you can set "Pre-action", in
pre-action you do the shell commands:
sudo launchctl unload
/system/library/launchdaemons/com.apple.audio.coreaudiod.plist
sleep 1 && sudo launchctl load
/system/library/launchdaemons/com.apple.audio.coreaudiod.plist &
First line will stop coreaudiod and second will start it delayed so that
Xcode is ready for attaching when coreaudiod starts up! :)
Regards
/Robert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]