Appium似乎不支持XCUITest Simulator体系结构

编程入门 行业动态 更新时间:2024-10-25 16:30:11
本文介绍了Appium似乎不支持XCUITest Simulator体系结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在ucelabs(appium)中测试我的本机iOS应用程序. Saucelabs需要在xcode构建后创建的.app文件夹的文件zip.

I am trying to test my react native iOS app in saucelabs(appium). Saucelabs require a file zip of .app folder created after the xcode build.

我正在使用以下步骤(位升序步骤)创建.app文件夹和zip文件. 1)设置Xcode项目内部版本号 2)Xcode存档和导出到iOS

I am using following steps(bitrise steps) to create the .app folder and the zip file. 1) Set Xcode Project Build Number 2) Xcode Archive & Export for iOS

一旦创建了zip文件,它就会被上传到平底锅中.

Once the zip file is created it is uploadedin the saucelabs.

当我在ucelabs中执行测试时,我从appium服务器收到以下错误.

When I execute the tests in saucelabs, I get the following error from the appium server.

> 2018-06-20 08:58:53:668 - [XCUITest] ********************************* > 2018-06-20 08:58:53:669 - [XCUITest] Simulator architecture appears to be unsupported by the '/var/folders/s9/gmkmk07d6gq_pt_v72yyt8xc0000kr/T/tmpFzu0Wp/test.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode. > 2018-06-20 08:58:53:669 - [XCUITest] Don't be surprised if the application fails to launch. > 2018-06-20 08:58:53:669 - [XCUITest] *********************************

当我从bitrise下载zip并在本地appium服务器中测试zip时,我遇到了同样的错误.

When I downloaded the zip from the bitrise and test the zip in local appium server, I got the same error.

但是,当我使用Xcode从本地MacBook系统创建新版本时,它可以在ucelabs以及本地appium服务器中完美地工作.

But when I create a new build from local MacBook system using Xcode, it works perfectly file in saucelabs as well as in local appium server.

使用bitrise为ucelabs iOS测试创建构建的正确方法是什么?

What is the proper way to create a build for saucelabs iOS test using bitrise?

推荐答案

使用-sdk iphone-simulator进行.app构建.然后创建一个zip文件,并将其上传到saucelabs

use -sdk iphone-simulator to make a .app build. Then create a zip file and upload it to saucelabs

更多推荐

Appium似乎不支持XCUITest Simulator体系结构

本文发布于:2023-11-12 01:48:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580166.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不支持   体系结构   Appium   Simulator   XCUITest

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!