Hi, I'm new to swift I try to get the midi input port list by `import WebMIDIKit` `let midi: MIDIAccess = MIDIAccess()` `let inputPort: MIDIInput? = midi.inputs.prompt()` It build succeeded but with an error  How can I get it Run correctly ?
Hi, I'm new to swift
I try to get the midi input port list by
import WebMIDIKitlet midi: MIDIAccess = MIDIAccess()let inputPort: MIDIInput? = midi.inputs.prompt()It build succeeded but with an error
How can I get it Run correctly ?