yeokm1 / SwiftSerial

A Swift Linux and Mac library for reading and writing to serial ports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newer macOS serial entitlement

doHernandezM opened this issue · comments

Awesome code, thanks for making this!
It looks like in macOS Big Sur, and possibly earlier, the USB entitlement is not necessary and has been replaced by a serial one, "com.apple.security.device.serial" However, this needs to be manually added to the "YourApp.entitlements" file in the Xcode project, there is no checkbox for it. Hope that helps someone else!

Thanks for the tip. Let me update the readme soon. Will close this when done.

Added instruction in this commit 4e46944