Search code examples
iosxcodemacosmidi

Xcode "iPhone Simulator" not showing up in Audio Midi Setup > Midi Network Setup


I am building an iPad Midi App and therefore need to connect to midi devices while running the App in the simulator. The following are the basic instructions:

Apple Mac OSX Simulator (iPhone or iPad)

  1. Open Audio Midi Setup on OSX. Make sure MIDI window is checked (Window Menu->Show MIDI Window
  2. Double click on Network (in MIDI Studio)
  3. If Session box is empty click + and create a session - default is Session1
  4. Run the xcode project and "iPhone Simulator" should appear in the Directory box.
  5. Click Connect - this moves over to the Session box as a participant.

The problem is "iPhone Simulator" has only shown up twice in the last 6 months and has gone again after the OSX 10.11.2 upgrade a few days ago. I have tried rebooting, changing the startup order of all the Apps involved all without luck. Finally filed a radar with Apple.

So I was wondering if anyone knows a trick to get this to catch? It has caught twice before but I have been unable to reproduce it.


Solution

  • I had this issue before also; this seemed to do the trick for me:

    1. Check to make sure you don't have duplicates of the CoreMIDI.Framework in your project. *If present remove the reference to the duplicate CoreMIDI.Framework (highlight, tap delete)
    2. Product > Clean
    3. Run the iOS Simulator

    You should now see the iPhone Simulator in Session 1.