【发布时间】:2017-10-05 23:16:58
【问题描述】:
此时,我已经成功地通过模拟器和实际的 iPhone(即在我的情况下为 iPhone 5s)运行了 iOS 应用程序部分下 Qt Creator 附带的计算器示例。 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
【问题讨论】:
-
@JagathishS,我需要 Qt 将我的配置文件传递给 Xcode 8。
-
你找到解决办法了吗?
标签: ios qt qt-creator provisioning-profile qt5.9