Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. New problems with macdeployqt and codesign with Qt5.6.2
Forum Updated to NodeBB v4.3 + New Features

New problems with macdeployqt and codesign with Qt5.6.2

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 1.3k Views 1 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.
  • G Offline
    G Offline
    gkroeger
    wrote on last edited by
    #1

    I have used macdeployqt with -codesign before with Qt 5.6.x with no problems... but starting yesterday, had a new error appear. Seems to be a problem with the signatures on the Qt frameworks. Xcode has been updated to the latest version which may be the problem. The error message is as follows:

    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: '/Users/Shared/Qt5.6.2/5.6/clang_64/bin/SeismicCanvas.app/Contents/Frameworks/QtGui.framework/Versions/5/_CodeSignature/CodeResources': The file was not recognized as a valid object file.\nfatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: internal objdump command failed\n"

    Any ideas what has changed?

    G 1 Reply Last reply
    0
    • G gkroeger

      I have used macdeployqt with -codesign before with Qt 5.6.x with no problems... but starting yesterday, had a new error appear. Seems to be a problem with the signatures on the Qt frameworks. Xcode has been updated to the latest version which may be the problem. The error message is as follows:

      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: '/Users/Shared/Qt5.6.2/5.6/clang_64/bin/SeismicCanvas.app/Contents/Frameworks/QtGui.framework/Versions/5/_CodeSignature/CodeResources': The file was not recognized as a valid object file.\nfatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: internal objdump command failed\n"

      Any ideas what has changed?

      G Offline
      G Offline
      gkroeger
      wrote on last edited by
      #2

      @gkroeger PS. I reinstalled Qt5.6.2 and that didn't help

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

        Hi,

        Which version of xCode did you had before ? What is it now ?

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

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gkroeger
          wrote on last edited by
          #4

          My current version of Xcode is 8.2.1 (latest release). I actually don't know which was the last version that worked for me with macdeployqt... sometime around last November. I was able to use "codesign" from the command line and individually sign all of the frameworks and plugins in the bundle so that the app works. Perhaps I should grab the version of macdeployqt that is being distributed with Qt5.8 and see if that makes a difference?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gkroeger
            wrote on last edited by
            #5

            I may have an older version of Xcode on one of my machines at the office that I could try out tomorrow.

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

              I'd first go with the more recent version of macdeployqt.

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

              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