(Illustration by Gaich Muramatsu)
I was reading xcode documentation, and found an easier more automated
way of creating the necessary root owned testing directory for the
kernel extension. Simply cd to your xcode project directory, and
give the command
sudo xcodebuild install
That will install the extension into
/tmp/darwin_coda.dst/System/Library/Extensions.
After that you can load the kext from that directory
--Pekka