【发布时间】:2018-01-10 00:35:22
【问题描述】:
我目前正在尝试在 iOS 上移植一个 android 应用程序。该应用程序是在 Linux 上开发的。但我无法在 macOS 上使用 Qt 进行 iOS 开发。
我遵循了那些(相当不清楚的)指示: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
【问题讨论】: