Post

Replies

Boosts

Views

Activity

There are 2 different results between Xcode 15 and Xcode 16
I have an macOS Application that communication with USB devices. There are 2 different results between Xcode 15 and Xcode 16. Do I forget somethings in Xcode 16? Results Xcode 15: It works very well Xcode 16: USB communication error occurred. If I try to modify Instrument's openUSB() function to func openUSB() { sleep(1) . . . } It works very well. My Application code class AppDelegate: NSObject, NSApplicationDelegate { override init() { super.init() _ = Controller.shared } ... } class Controller: NSObject { public static let shared = Controller() public private(set) var instrument: Instrument private override init() { super.init() self.instrument = Instrument() } } class Instrument: NSObject { override init() { super.init() openUSB() } func openUSB() { . . . } }
0
0
67
3w