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

尝试测试时:

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

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

在iOS 12.3以下,执行设备UITest时,我在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.

很遗憾,设备日志为空。

我联系了AppCenter支持,几天后,从工程师那里得到了输入,这是响应:

correctly link the test xcuitest runner with swift

我是一名混合开发人员,对Swift或本机iOS开发一无所知。我曾尝试研究如何{{1}},但迷路了,一无所获。有人可以为新手提供一些帮助吗?

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

我知道了。在我的情况下,我确保所有目标都指向同一个目标SDK(在iOS 9中)。此外,我还验证了.app的输出文件夹,这不是我最初的想法。我在appcenter test run命令中更改了路径,以指向正确的路径。我通过打开Xcode,展开我的项目,展开产品文件夹,然后右键单击* .app文件并选择open in finder,找到了正确的路径。

本文链接:https://www.f2er.com/2625290.html

大家都在问