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. macdeployqt Codesign signing error: errSecInternalComponent
Forum Updated to NodeBB v4.3 + New Features

macdeployqt Codesign signing error: errSecInternalComponent

Scheduled Pinned Locked Moved Solved General and Desktop
1 Posts 1 Posters 353 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.
  • M Offline
    M Offline
    Martin Burchell
    wrote on 30 Mar 2021, 16:17 last edited by Martin Burchell
    #1

    In case anyone else is having this problem:

    martin@petrel:~/camcops/build-camcops-Mac-Release$ ~/workspace/qt_local_build/qt_macos_x86_64_install/bin/macdeployqt camcops.app -verbose=3 -dmg -codesign="Apple Development: Martin Burchell (XXXXXXXXXX)" -appstore-compliant
    Log: Argument found: "-dmg"
    Log: Argument found: "-codesign=Apple Development: Martin Burchell (XXXXXXXXXX)"
    Log: Argument found: "-appstore-compliant"
    Log: Using otool:
    Log:  inspecting "/Users/martin/camcops/build-camcops-Mac-Release/camcops.app/Contents/MacOS/camcops"
    WARNING:
    WARNING: Could not find any external Qt frameworks to deploy in "camcops.app"
    WARNING: Perhaps macdeployqt was already used on "camcops.app" ?
    WARNING: If so, you will need to rebuild "camcops.app" before trying again.
    Log: Using strip:
    Log:  stripped "/Users/martin/camcops/build-camcops-Mac-Release/camcops.app/Contents/MacOS/camcops"
    Log:
    Log: Signing "camcops.app" with identity "Apple Development: Martin Burchell (XXXXXXXXXX)"
    Log: Using otool:
    Log:  inspecting "/Users/martin/camcops/build-camcops-Mac-Release/camcops.app/Contents/MacOS/camcops"
    Log: codesign "/Users/martin/camcops/build-camcops-Mac-Release/camcops.app/Contents/MacOS/camcops"
    ERROR: Codesign signing error:
    ERROR: "/Users/martin/camcops/build-camcops-Mac-Release/camcops.app/Contents/MacOS/camcops: errSecInternalComponent\n"
    Log: Finished codesigning  "camcops.app" with identity "Apple Development: Martin Burchell (XXXXXXXXXX)"
    ERROR: codesign verification error:
    ERROR: "camcops.app: code object is not signed at all\nIn architecture: x86_64\n"
    

    The problem was that I was running this on the Mac over SSH. When I tried the same command on the Mac directly it worked without error.

    1 Reply Last reply
    1

    1/1

    30 Mar 2021, 16:17

    • Login

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