1

此刻,我已经成功地通过模拟器和实际的 iPhone(即在我的情况下为 iPhone 5s)运行了 Qt Creator 在 iOS 应用程序部分下的计算器示例。Qt 坚持必须提供配置文件。我提供了具有以下设置的临时配置文件

在此处输入图像描述

当我运行该项目时,它会向我显示此消息

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
4

1 回答 1

0

你可以检查一下Automatically manage signing,它会自己做一些修复。你试试看?

在此处输入图像描述

于 2017-06-16T11:14:01.607 回答