Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[solved] Code signing error - Compiling Qt 5.4 for iOS
nando76 last edited by
i try to compile Qt 5.4 from git static with open ssl support.
This is my configure:
@./configure -nomake examples -nomake tests -openssl-linked -I/development/libs/openssl-1.0.1j/include -L/development/libs/openssl-1.0.1j/lib -lcrypto -lssl -xplatform macx-ios-clang -debug-and-release -confirm-license -static -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -prefix /development/Qt/5.4.0-git-ssl-static-ios@
I also have latest Xcode installed and added my apple developer account.
Somehow i get the following error about code signing:
@=== BUILD TARGET xmlpatterns OF PROJECT xmlpatterns WITH CONFIGURATION Debug ===
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
** BUILD FAILED **
The following build commands failed:
make: *** [iphoneos-debug] Error 65
make: *** [iphoneos] Error 2
make: *** [sub-xmlpatterns-make_first] Error 2
make: *** [sub-tools-make_first] Error 2
make: *** [module-qtxmlpatterns-make_first] Error 2
How to tell Qt to use correct identity?
nando76 last edited by
Ok, now it works.
think the problem was because it occurred on a new mac os x installation.
i removed all my developer identities and provisioning profiles on my mac box (they were synced after connecting to my apple account from old mac box).
then i resynced the stuff from Xcode (in account section)
Now it works.
juddster last edited by
I just experienced this same error trying to build an app I hadn't built for a long time with new versions of QtCreator and Xcode (Qt 5.4.1 and Xcode 6.2).
What I did was:
- Open Xcode
- Go to Xcode > Preferences...
- Select 'Accounts'
- Click the 'View Details...' button at the bottom right of the right pane
- In the window that pops up listing the provisioning profiles, click the refresh button at the bottom left
After that, I rebuilt the project in QtCreator and it built cleanly straight away.
literA2 last edited by
Have you set a team in Project Navigator under General > Identity?