我正在使用带有 OS X El Capitan 版本 10.11.3 的 MacBook Pro。我尝试使用 iOS 模拟器从 Gluon/javaFXports 启动一个简单的“Hello World”项目。
如果我只是运行该项目,它可以在我的桌面上运行,但每次我使用“launchIPhoneSimulator”运行它时都会发生这种情况:
14:52:46: Executing external task 'launchIPhoneSimulator'...
:compileJava UP-TO-DATE
:compileRetrolambdaMain UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:createDefaultIOSLauncher UP-TO-DATE
:compileIosJava UP-TO-DATE
:processIosResources UP-TO-DATE
:iosClasses UP-TO-DATE
:launchIPhoneSimulator FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':launchIPhoneSimulator'.
> Unable to find a matching device [arch=x86, family=iPhone, name=null, sdk=null]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.986 secs
Unable to find a matching device [arch=x86, family=iPhone, name=null, sdk=null]
14:52:49: External task execution finished 'launchIPhoneSimulator'.
我是 Apple 的开发人员,但我刚刚获得了免费帐户,也许这就是问题所在?
我没有别的想法。你能帮我吗?