简体   繁体   English

Appium - 从 testflight 公共 url 安装 iOS 应用程序

[英]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.

相关问题 如何使用Appium从詹金斯URL安装应用程序? - How to install an app from jenkins URL with Appium? 在iOS应用程序中无法使用Java使用Appium进行刷卡 - Swipe with Appium using Java is not possible in ios apps 在 appium iOS 中在两个应用程序之间切换 - Switching between two apps in appium iOS 适用于iOS Safari应用的Appium环境设置 - Appium for iOS safari apps Environment set up 当我在 iOS appium 中从本机上下文切换到 webview 上下文时,Appium 驱动程序获取的 url 与当前页面 url 不同 - Appium driver is fetching different url than current page url when i switched from native to webview context in iOS appium 如何通过使用appium访问来自不同网络位置的路径来直接在模拟器中安装移动应用程序(Android / iOS)? - How to install mobile application(Android/iOS) in emulators directly by accessing path from different network location using appium? Appium for iOS应用程序是否需要该应用程序的源代码? - Does Appium for iOS apps need the source code of the app? 如何使用 Appium 自动化已安装的 ios 应用程序 - How to automate already installed ios Apps using Appium 如何在iOS混合应用程序的Appium Python中访问Webview - How to access Webview in appium python for iOS hybrid apps Appium:尝试在 IOS 设备上安装应用程序时出错 - Appium: Error when trying to install app on IOS device
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM