Xcode couldn't find a provisioning profile matching 'com.yourcompany.clocks'.



  • So I tried compiling the clocks example from the latest Qt 5.9.1.
    I can run it on my mac, android and the ios simulator. But I can't build it for ios devices. Qt creator says "Xcode couldn't find a provisioning profile matching 'com.yourcompany.clocks'." But I selected my personal team profile in the project settings. Can somebody help me?
    I'm using Qt 5.9.1, QtCreator 4.3.1 and Xcode 8.3.3


  • Lifetime Qt Champion

    Hi,

    Take a look at QTBUG-38782, especially the last comments.



  • I had a very similar problem building Qt for iOS these days. You want to set QMAKE_PROVISIONING_PROFILE="yourHexId". Grep the qmake sources, for "com.yourcompany" if in doubt ;)



  • Where do I get my provisioning profile?
    I do not yet have a "real" developer account. I am simply registered with apple. I can upload programs to my iPads but they get deactivated after a week. But it's not working with QtCreator. What can I do?

    edit:
    Ok sorry, I didn't see this in the linked bug:

    free teams: Since you cannot manage provisioning profiles online for free teams, you have to run your application in Xcode once, so Xcode creates one. Xcode creates application specific provisioning profiles in this case, so you have to do this for each application individually. There doesn't seem to be anything Qt or Qt Creator could do to improve that situation.

    How do I run my appliction in XCode?



  • I have also a apple developer id..
    but you must pay 99€ to become code-signing a code to insert in to plist .. after you can push -f your app in to store...
    This is what I discovered 2 mount a go.. :-)

    https://developer.apple.com/support/code-signing/

    If i build a app for mac to my friend .. its comming message this app is from internet not secure and other slang... white code sign is all aceptdet ...

    here is described..
    https://stackoverflow.com/questions/15996468/what-are-code-signing-identities



  • That's what I realized a few minutes ago.
    But then I read the quote I mentioned above. I just don't know how to "run my application in Xcode".



  • Your application is not run by Xcode .. its compilede from a console app inside Xcode... if you open xcode in this time you can drink 2-3 coffe..
    inside bundle Xcode is a console compiler name "xcodebuild" you need only this...
    appname .xcodeproj file... all from console.. terminal

    cd dir:
    xcodebuild -project QtAndSwift.xcodeproj -configuration "Release"
    

    a sample:
    https://forum.qt.io/topic/82200/qt5-swift-dance-together-super-its-run-many-thanks



  • Ah, ok. I found the xcodeproj file in the build folder. Thanks, it's working now!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.