ios - 发生未知的服务器端错误,Bad app : ⁨/. ./../。 App(ipa) 路径必须是绝对路径或压缩文件的 URL

标签 ios appium appium-ios appium-desktop

当我在 appium 检查器中运行 JsonScript

使用的环境:

"platformName": "iOS",
"deviceName": "iPhone Simulator",
"platformVersion": "12.1",
"app": "⁨⁨/../../...ipa", 
"automationName":
"XCUITest", 
"noReset": true

它没有启动 appium 检查器并抛出错误

An unknown server-side error occurred while processing the command. Original error: Bad app: ⁨⁨/../../. App(ipa) paths need to be absolute or an URL to a compressed file

最佳答案

简单的方法是在项目根文件夹中创建app 文件夹。将您的 filename.ipa 文件移动到 app 文件夹中。您的应用程序路径将是

"app": "/app/filename.ipa"

关于ios - 发生未知的服务器端错误,Bad app : ⁨/. ./../。 App(ipa) 路径必须是绝对路径或压缩文件的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55416010/

相关文章:

automation - 如何在 Ubuntu 16 中下载 Appium Desktop

ios - 我想为 Appium 设置测试实验室

appium - 如何在 iphone 上检查 IOS 应用程序中的元素?

ios - 如何使用 Swift 清除 SearchBar 结果并在 tableview 中显示完整数据?

ios - 将初始对象添加到 Realm

android - 将 Appium Python UI 测试脚本放入存储库的最佳实践

appium - xcodebuild 失败 : "xcodebuild failed with code 65 is displaying when tried to start session with Appium Desktop

java - 我们如何在 selenium web 驱动程序中编写 selenium ide 命令?

ios - ReactiveCocoa 问题

ios - 没有 iBeacons 的室内定位