2017-06-16 91 views
0

目前,我已经成功设法运行Qt Creator在iOS应用程序部分通过模拟器和实际iPhone(即我的iPhone 5s)运行的计算器示例。 Qt坚持必须提供配置文件。我提供了一个特设的供应配置文件有以下设置如何更改配置文件

enter image description here

当我运行该项目,它让我看到这个消息

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

它坚持使用此配置文件com.test.profile.calculator而在设置我提供了我自己的。我去了Xcode项目生成的文件夹,我确实运行了它。它的工作原理和应用程序已成功部署到我的iPhone 5s。 我的问题是如何更改供应配置文件名称?有关此问题,.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 
+0

请参考以下链接https://stackoverflow.com/questions/39488782/xcode-8-provisioning-profile-vs-provisioning-profile-deprecated –

+0

@JagathishS,我需要的Qt通过我的provisioning profile到Xcode 8. – CroCo

回答

0

你可以检查Automatically manage signing它会自己做一些修复。你尝试过吗?

enter image description here

+0

这会将配置文件更改为默认值,在这种情况下,“com.test.profile.calculator'' – CroCo

+0

您想创建AdHoc配置文件? –

+0

我已经提供了我自己的,但Qt坚持使用'com.test.profile.calculator' – CroCo

相关问题