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

Compile qt ios project in shell, signature error!



  • I want to compile under the shell, but the final step of the signature process is wrong.
    The shell script looks like this:

    Qmake ./apppro6.pro -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos CONFIG+=device
    Make qmake_all
    Make

    The error message is as follows:

    /usr/bin/codesign --force --sign 8F4DD5ABC07558499100E723B27218EEFC964EA5 --entitlements /Users/liu/build/APPLE/daily_build/APPLE5/main/.xcode/RZ-WD6.build/Release-iphoneos/xxx.build/RZ-WD6.app.xcent --timestamp=none /Users/liu/build/APPLE/daily_build/APPLE5/main/Release-iphoneos/xxx.app
    /Users/liu/build/APPLE/daily_build/APPLE5/main/Release-iphoneos/xxx.app: errSecInternalComponent
    Command /usr/bin/codesign failed with exit code 1

    ** BUILD FAILED **

    Compiling with qtcreator is normal and the signature is correct.
    Which one can help me solve this problem?


Log in to reply