Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt App bundle signing error: “A timestamp was expected but was not found” for QtCore and others



  • I'm creating my Qt app bundle on macOS using command

    macdeployqt MyApp.app --verbose --executable=MyApp.app/Content/MacOS/MyApp -codesign=<identity>

    and getting such errors for all Qt libraries:

    ERROR: Codesign signing error:
    ERROR: "/Users/xxx/Projects/MyApp/deploy/MyAppapp/Contents/Frameworks/QtCore.framework/Versions/5/QtCore: A timestamp was expected but was not found.\n"
    

    I can reproduce same errors if running codesign separately

    codesign --sign "<identity>" /path/to/Fraworks/.../5/QtCore
    

    My certificate is a fresh generated from Apple Developer website.

    What am I doing wrong and how to fix it?


  • Lifetime Qt Champion

    Hi,

    What version of Qt ?
    What version of Xcode ?
    What version of macOS ?



  • What version of Qt ?

    5.9.8

    What version of Xcode ?

    10.3

    What version of macOS ?

    10.14.6


  • Lifetime Qt Champion

    I would try to run a version of macdeployqt coming from a more recent version of Qt.


Log in to reply