Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9369

macOS: Squish cannot connect to signed Design Studio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • QDS 4.0
    • RTA
    • None
    • macOS
    • QDS Berlin - 2023 Week 9/10

      Squish cannot connect to latest signed DS 4.0.0 on macOS. It does launch DS, but then fails to connect to it. Similar issue as for Creator 9.0.2 described in https://bugreports.qt.io/browse/SQUISH-15904 

      Running 

      codesign -d --entitlements - /Applications/Qt\ Design\ Studio.app

      outputs

      Executable=/Applications/Qt Design Studio.app/Contents/MacOS/Qt Design Studio
      [Dict]
          [Key] com.apple.security.cs.debugger
          [Value]
              [Bool] true
          [Key] com.apple.security.cs.allow-jit
          [Value]
              [Bool] true
          [Key] com.apple.security.automation.apple-events
          [Value]
              [Bool] true
          [Key] com.apple.security.cs.disable-library-validation
          [Value]
              [Bool] true
          [Key] com.apple.security.cs.allow-unsigned-executable-memory
          [Value]
              [Bool] true

      https://kb.froglogic.com/squish/mac/troubleshoot/hardened-runtime/#which-entitlements-squish-needs instructs that both com.apple.security.cs.disable-library-validation and com.apple.security.cs.allow-dyld-environment-variables should exist and be set to true.

      -> com.apple.security.cs.allow-dyld-environment-variables seems to be missing

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tjenssen Tim Jenssen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes