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. macOS 10.15: QOpen/SaveFileDialog doesn't show up at all after signing the .app with hardened runtime enabled (codesign --options=runtime)
Forum Updated to NodeBB v4.3 + New Features

macOS 10.15: QOpen/SaveFileDialog doesn't show up at all after signing the .app with hardened runtime enabled (codesign --options=runtime)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 346 Views 2 Watching
  • 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by Violet Giraffe
    #1

    I'm investigating the problem described in the title: everything works fine until I sign the .app, but after signing with hardened runtime (which means sandbox enabled) . If signed without the--options=runtime flag, everything is OK.
    Any idea why this happens and how to fix it? Perhaps, some specific permission has to be requested via entitlements.plist?

    Hardened runtime is a requirement for app notarization so avoiding it may soon become impossible (if not already impossible).
    P. S. Tested with Qt 5.12.5.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Sorry can't directly help you with that one but did you also test with the latest stable release ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Sorry can't directly help you with that one but did you also test with the latest stable release ?

        V Offline
        V Offline
        Violet Giraffe
        wrote on last edited by
        #3

        @SGaist, do you mean 5.13.2? No, I read the list of changes and there was nothing important for desktop development. But if you think it could help, I can test with 13.2 as well.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Violet Giraffe
          wrote on last edited by Violet Giraffe
          #4

          P. S. My entitlements.plist looks like this for now:

          <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
          <plist version="1.0">
            <dict>
              <key>com.apple.security.app-sandbox</key>
              <true/>
              <key>com.apple.security.network.client</key>
              <true/>
              <key>com.apple.security.temporary-exception.files.absolute-path.read-write</key>
              <array>
                <string>/</string>
              </array>
            </dict>
          </plist>
          

          Update: tried 5.13.2, same thing.

          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