Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [solved] Code signing error - Compiling Qt 5.4 for iOS
Forum Updated to NodeBB v4.3 + New Features

[solved] Code signing error - Compiling Qt 5.4 for iOS

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 8.6k 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.
  • N Offline
    N Offline
    nando76
    wrote on 8 Nov 2014, 10:30 last edited by
    #1

    Hi,

    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 ===

    Check dependencies
    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:
    Check dependencies
    (1 failure)
    make[4]: *** [iphoneos-debug] Error 65
    make[3]: *** [iphoneos] Error 2
    make[2]: *** [sub-xmlpatterns-make_first] Error 2
    make[1]: *** [sub-tools-make_first] Error 2
    make: *** [module-qtxmlpatterns-make_first] Error 2
    @

    How to tell Qt to use correct identity?

    Greetings
    Nando

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nando76
      wrote on 8 Nov 2014, 11:34 last edited by
      #2

      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.

      Greetings
      Nando

      1 Reply Last reply
      0
      • J Offline
        J Offline
        juddster
        wrote on 25 Mar 2015, 12:14 last edited by
        #3

        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.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          literA2
          wrote on 25 Mar 2015, 12:28 last edited by
          #4

          Have you set a team in Project Navigator under General > Identity?

          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