【问题标题】:Getting "iDeviceInstaller" error even when ideviceinstaller is installed on my mac即使在我的 Mac 上安装了 ideviceinstaller,也会出现“iDeviceInstaller”错误
【发布时间】:2017-01-23 00:51:11
【问题描述】:

我正在使用 mac OSX El Capitan。我已经在其中安装了 eclipse Neon。我在真实的 ios 设备上使用 appium 运行 selenium 脚本的完整设置。为此,我还安装了“ideviceinstaller”。我在工作区中创建了一个项目以在设备上启动一个应用程序,它工作正常。但是当我将相同的代码复制到不同的项目时,它开始给我错误

 org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 33.97 seconds
Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42'
System info: host: 'MacBookBL9138C.local', ip: '10.104.150.28', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_73'.

我尝试卸载当前的 eclipse 并安装 eclipse lunar,但它仍然失败。我尝试在新工作区中运行相同的代码,但仍然出现相同的错误。 任何帮助将不胜感激。

【问题讨论】:

    标签: eclipse macos appium-ios


    【解决方案1】:

    我想我已经找到了这个问题的答案。我错过了在eclipse中配置路径。

    请参考以下链接以获得答案: https://discuss.appium.io/t/error-could-not-initialize-ideviceinstaller-make-sure-it-is-installed-and-works-on-your-system/11699/5?u=tuhuynh

    【讨论】:

      猜你喜欢
      • 2019-12-13
      • 2018-09-11
      • 1970-01-01
      • 1970-01-01
      • 2020-12-18
      • 2022-11-29
      • 1970-01-01
      • 2020-09-11
      • 1970-01-01
      相关资源
      最近更新 更多