orchetect/MIDIKit

midiManager.endpoints and midiManager.devices.devices only give an empty list `[]`

blockarchitech opened this issue · 1 comments

Please Confirm

  • I have reviewed the MIDIKit Documentation which contains descriptive guides and extensive API reference
  • I have searched Issues and Discussions to see if the same question has already been asked

macOS Version(s) Used to Build

macOS 12 Monterey, macOS 11 Big Sur

Xcode Version(s)

Xcode 14, Xcode 13.3.1

Description

When using the midiManager declared via:

let midiManager = MIDIManager(
        clientName: "name",
        model: "model",
        manufacturer: "blockarchitech"
)

And then trying to list devices:

print(midiManager.devices.devices)
..or
print(midiManager.endpoints.inputs)
..or
print(midiManager.endpoints.outputs)

It will always return

[]

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

Mistyped try midiManager.start(). Whoops!