【问题标题】:How to change provisioning profile如何更改配置文件
【发布时间】: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

【问题讨论】:

标签: ios qt qt-creator provisioning-profile qt5.9


【解决方案1】:

您可以检查Automatically manage signing,它会自行修复。你试试看?

【讨论】:

  • 这会将配置文件更改为默认值,在这种情况下为'com.test.profile.calculator'
  • 我已经提供了自己的,但 Qt 坚持使用com.test.profile.calculator
  • 您可以尝试使用fastlane。并设置你想要的Provision profile。它会自动修复并设置您需要的内容。 github.com/fastlane/fastlane/tree/master/sigh
  • 我需要知道 Qt 一直在哪里修改配置文件的名称。
猜你喜欢
  • 1970-01-01
  • 2018-10-19
  • 2015-08-22
  • 1970-01-01
  • 2018-06-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多