AppCenter iOS设备测试-测试运行程序无法启动错误

问题描述 投票:0回答:1

[尝试测试时:

  • [Cordova 9 + Angular 8 Hybrid iOS 9应用]
  • 内置于XCode中,并添加了XCUITest目标
  • 已部署到AppCenter设备云测试

我在iOS 12.3以上的设备上进行UI测试没有问题

在iOS 12.3以下,我在执行设备UITest时在AppCenter中收到以下错误:

The test runner failed to start.The XCUITest-RUnner failed to start.
You can normally find clues about the cause of this in the device log.

很遗憾,设备日志为空。

我联系了AppCenter支持,几天后,得到工程师的反馈,这是响应:

The problem is that your XCUITest Runner is not correctly linked with Swift.
Before iOS 12.3, the Swift dylibs need to be shipped with iOS applications (the -Runner is an iOS application).  Starting in iOS 12.3, the Swift dylibs are part of the OS and do not need to be bundled in the .app.
You need to adjust your Xcode build settings to generate a XCUITest Runner that is compatible with iOS 12 - 13.x.
I don't know how to do this so I cannot offer specific advice.
I hope you can find a StackOverflow post or some Apple documentation.

我是一名混合开发人员,对Swift或本机iOS开发一无所知。我已经尝试研究如何correctly link the test xcuitest runner with swift,但我迷路了,无法到达任何地方。有人可以为新手提供一些帮助吗?

xcode visual-studio-app-center xcuitest visual-studio-app-center-test
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.