Closed tangzhifengjluzh closed 4 years ago
Try add "com.apple.security.device.serial" to the entitlements file.
As sccxx's answer says, you need to make sure you've included the com.apple.security.device.serial
to your sandbox entitlements file. If this doesn't fix the issue, let me know, but I'm going to close this for now.
Thank you very much for solving this problem perfectly
Uploading an application requires opening the sandbox, but when opening sandbox permissions, an error is reported
Serial port usbserial-14630 encountered an error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" UserInfo={NSFilePath=/dev/cu.usbserial-14630, NSLocalizedDescription=Operation not permitted}