USB Device Path In Swift
问题 This is the code that I have. I am able to detect when a USB device is connected, then poll it to see what the Device Name for the device is. I was hoping to use something along the lines of finding BSD Path (I think that's what it's called) or the TTY/CU mount location. When I try to change the key, I end up getting a EXCC_BAD_INSTRUCTION error. I know it must be be there somewhere! :P Any help would be appreciated! Thanks in advance! import Foundation import Cocoa class USBDetector { class