Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. (Serial Port) PermissionError after publishing to AppStore
Forum Updated to NodeBB v4.3 + New Features

(Serial Port) PermissionError after publishing to AppStore

Scheduled Pinned Locked Moved Unsolved General and Desktop
macosapp storepermissionerrorserial port
2 Posts 2 Posters 765 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    long
    wrote on last edited by
    #1

    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/>
    
    1 Reply Last reply
    0
    • T Offline
      T Offline
      thamht4190
      wrote on last edited by thamht4190
      #2

      Hi, I still got this issue on Qt 6.8.3. Anyone has found some way to resolve this problem? Thanks!

      Error setting up serial port /dev/tty.usbmodemCACF62D63C042. open: Operation not permitted
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved