(Serial Port) PermissionError after publishing to AppStore
Host : MacOS Mojave 10.14.2
Qt ver. : Qt 5.12.0 (Clang 10.0 (Apple), 64 bit)
I developed an APP using QSerialPort, it was working fine on my MacBook, so I published it to APPSTORE. Then I deleted the APP locally generated and downloaded it from APPSTORE.
However, when I tried to open the same serial port in the new APP, “PermissionError” was returned. So I guess, there are some configures about permission have been missed. If you know something about it, please help me.
Here is the app.entitlements.
<key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.device.usb</key> <true/> <key>com.apple.security.device.bluetooth</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/>