简体   繁体   English

如何更改配置文件

[英]How to change provisioning profile

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 (ie in my case iPhone 5s). 目前,我已经成功通过模拟器和实际的iPhone(即我的iPhone 5s)在iOS应用部分的Qt Creator下成功运行了计算器示例。 Qt insists that the provisioning profile must be provided. Qt坚持必须提供配置文件。 I've provided an ad-hoc provisioning profile with the following setting 我提供了具有以下设置的临时设置配置文件

在此处输入图片说明

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. 它坚持使用此配置文件com.test.profile.calculator而在设置中我提供了自己的配置文件。 I went to the folder where the Xcode project has been generated and I did run it. 我进入了生成Xcode项目的文件夹,并运行了它。 It works and the app has been deployed successfully to my iPhone 5s. 它可以正常工作,并且该应用程序已成功部署到我的iPhone 5s。 My question is how can I change the provisioning profile name? 我的问题是如何更改配置文件名称? There is nothing in .pro regarding this issue. .pro没有与此问题有关的内容。

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

You can check Automatically manage signing and it will do some fix itself. 您可以选中“ Automatically manage signing ,它会自行修复。 Do you try it? 你会尝试吗?

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM