2017-08-02 69 views
0

我目前正試圖在iOS上移植一個Android應用程序。該應用程序是在Linux上開發的。但是我無法設法在iOS開發中使用QO。Qt上未檢測到iOS套件(macOS)

我跟着那些(不清楚)說明:http://doc.qt.io/qt-5/ios-support.html

首先,我已成功安裝了XCode,我設法部署在我的iPhone的虛擬應用程序。然後,我安裝了Qt並打開了「.pro」項目文件。 但我唯一可以使用的套件是「Desktop Qt 5.4.1 clang 64 bit」。 iOS的套件似乎沒有被檢測到。

我做錯了什麼?我錯過了什麼嗎?

編輯:

當我啓動了 「的.pro」,我得到這個錯誤:

Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild. 

不幸的是,它不涉及到這個衆所周知的問題(Qt Creator - Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild

當我運行命令:

/usr/bin/xcodebuild 

我得到這個錯誤:

xcodebuild: error: The directory /Users/<UserName> does not contain an Xcode project 

回答

0

好吧,我設法解決了我的問題,重新安裝Qt版本5.8(而不是5.9.1)。

但我不確定這是什麼導致問題,但。事實上,我意識到我在第一次配置XCode之前(使用開發人員帳戶)安裝了Qt。