I know I’m reviving a dusty post here, but did you ever find a resolution for this? I am experiencing the same issue.
Execution enters MIDIInputPortCreate but never returns. Xcode shows execution still running, but I seem to be unable to figure out what exactly it’s stuck on.
I don’t suppose its anything to do with the message thread is it?