1

At this moment, I've successfully managed to run the calculator example that comes with Qt Creator under iOS apps section through the Simulator and the actual iPhone (i.e. in my case iPhone 5s). Qt insists that the provisioning profile must be provided. I've provided an ad-hoc provisioning profile with the following setting

enter image description here

When I run the project it shows me this message

No profiles for 'com.test.profile.calculator' were 
found:-1: error: Xcode couldn't find a provisioning profile matching 
'com.test.profile.calculator'.

It insists on using this profile com.test.profile.calculator whereas in the setting I've provided my own. I went to the folder where the Xcode project has been generated and I did run it. It works and the app has been deployed successfully to my iPhone 5s. My question is how can I change the provisioning profile name? There is nothing in .pro regarding this issue.

QT += widgets
HEADERS       = button.h \
                calculator.h
SOURCES       = button.cpp \
                calculator.cpp \
                main.cpp

# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/calculator
INSTALLS += target
3

1 Answer 1

0

You can check Automatically manage signing and it will do some fix itself. Do you try it?

enter image description here

4
  • This will change the provisioning profile to default which in this case 'com.test.profile.calculator'
    – CroCo
    Jun 16, 2017 at 11:18
  • I've already provided my own but Qt insists on using com.test.profile.calculator
    – CroCo
    Jun 16, 2017 at 11:21
  • You can try to use fastlane. And set Provision profile what you want. It will automatically repair and set what you need. github.com/fastlane/fastlane/tree/master/sigh Jun 16, 2017 at 11:24
  • I need to know where Qt keeps modifying profiles' names.
    – CroCo
    Jun 16, 2017 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.