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
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
CroCo
  • 5,531
  • 9
  • 56
  • 88

1 Answers1

0

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

enter image description here

S. Matsepura
  • 1,673
  • 1
  • 17
  • 24
  • This will change the provisioning profile to default which in this case `'com.test.profile.calculator'` – CroCo Jun 16 '17 at 11:18
  • I've already provided my own but Qt insists on using `com.test.profile.calculator` – CroCo Jun 16 '17 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. https://github.com/fastlane/fastlane/tree/master/sigh – S. Matsepura Jun 16 '17 at 11:24
  • I need to know where Qt keeps modifying profiles' names. – CroCo Jun 16 '17 at 11:40