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. iOS Code Signing Error?
Forum Updated to NodeBB v4.3 + New Features

iOS Code Signing Error?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 3 Posters 1.2k 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.
  • mbruelM Offline
    mbruelM Offline
    mbruel
    wrote on last edited by mbruel
    #1

    Hi,
    I'm doing a mobile app. I've tested on Android, it's deploying ok, now I need to test on iOS.
    I've set up a VM with MacOS, installed USB network Gateway and my iPhone is recognized.
    I've the latest xCode (11.6) and the latest iOS on my iPhone SE (iOS 13.6).
    I've managed to send an Hello World test app from xCode to the iPhone.
    I'm now trying to send my QML app from QtCreator.
    I've added this in the pro file:

    ios {
        QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
        MY_DEVELOPMENT_TEAM.name = "Matthieu Bruel"
        MY_DEVELOPMENT_TEAM.value = MyValueFromXCode
        QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
    }
    

    I'm getting this signing Error:

    Check dependencies
    Code Signing Error: No profiles for 'Perso.bbLondon1' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching 'Perso.bbLondon1'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.6'
    

    I've tried to create an app in XCode with the same name than my Qt app: (bbLondon1).
    Basically it's another Hello World.
    I send this app to the iPhone.
    Another profile is created in ~/Library/MobileDevice/Provisioning Profiles
    I tried to add the profile id in the pro file:

    ios {
        ...
        QMAKE_PROVISIONING_PROFILE = a1b76d12-e2a4-5c22-1234-a2ff12345678
    }
    

    Now I'm getting this error with or without the QMAKE_PROVISIONING_PROFILE:

    Check dependencies
    Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: Perso.bbLondon1" is Xcode managed, but signing settings require a manually managed profile.
    Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.6'
    

    Help please, what's the procedure to deploy on an iPhone?
    Another question, I need openssl in the app as I'll access some https APIs. How can I include openssl?
    is there something to add in the pro file like for Android? android: include(/home/bruel/android/android_openssl/openssl.pri)

    Thanks in advance, I'm struggling since 2 days...

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

      Hi,

      Sorry I can't help you with your signing issue but on the OpenSSL side, you do not need it. Qt uses the SecureTransport framework for the Apple OSs. Unless you specifically need OpenSSL in which case you'll have to build Qt yourself.

      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
      1
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Hi, about the code signing, in your Qt Creator's build settings for your mobile app, is this check box ticked?
        Screenshot 2020-08-11 at 21.04.57.png

        1 Reply Last reply
        1
        • mbruelM Offline
          mbruelM Offline
          mbruel
          wrote on last edited by
          #4

          Cool thanks it is building now :)
          indeed, no need of openssl, an https call is working well from QML. I suppose it will be the same in C++.
          Cheers

          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