2017-06-16 169 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

相關問題