[英]Appium - Install iOS apps from a testflight public url
I'm trying to install / run an iOS app from a test flight public url when using appium desktop but get the following error when starting the session:我正在尝试在使用 appium 桌面时从试飞公共 url 安装/运行 iOS 应用程序,但在启动会话时出现以下错误:
"An unknown server-side error occurred while processing the command. Original error: Could not install app: 'ENOTDIR: not a directory, scandir '/var/folders/[DIRECTORY_PATH]/[RANDOM_GENERATED_CODE].app''" “处理命令时发生未知的服务器端错误。原始错误:无法安装应用程序:'ENOTDIR:不是目录,扫描目录'/var/folders/[DIRECTORY_PATH]/[RANDOM_GENERATED_CODE].app''”
The desired capabilities I provided to appium desktop are shown below:我提供给 appium 桌面的所需功能如下所示:
{
"automationName": "XCUITest",
"platformName": "iOS",
"deviceName": "[DEVICE_NAME]",
"platformVersion": "13.3",
"xcodeOrgId": "[XCODE_ORG_ID]",
"xcodeSigningId": "iPhone Developer",
"udid": "[DEVICE_UDID]",
"bundleId": "[APP_BUNDLE_ID]",
"updatedWDABundleId": "[WEDRIVER_AGENT_RUNNER]",
"app": "https://testflight.apple.com/join/[RANDOM_GENERATED_CODE]"
}
Does appium support this functionality? appium 支持这个功能吗? If so what am i missing?如果是这样,我错过了什么?
You should try to download the app before setting up Appium.您应该在设置 Appium 之前尝试下载该应用程序。 (with bash script or Java itself) (使用 bash 脚本或 Java 本身)
After downloading, set the local URL in the capabilities.下载后,在capabilities中设置本地URL。
This error:这个错误:
install app: 'ENOTDIR: not a directory, scandir '/var/folders/[DIRECTORY_PATH]/[RANDOM_GENERATED_CODE].app''"
Seems to indicate you are pointing to a file, not a directory, which is what the executing code expected.似乎表明您指向的是一个文件,而不是一个目录,这是执行代码所期望的。 Are you supposed to expand the artifacts from TestFlight before using them?您是否应该在使用它们之前扩展来自 TestFlight 的工件? Perhaps something is wrong with the [DirectoryPath]
you specified.您指定的[DirectoryPath]
可能有问题。 What's actually at that location after the failure occurs?发生故障后,该位置的实际情况是什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.