gpt4 book ai didi

Appium 支持 Xcode 8

转载 作者:行者123 更新时间:2023-12-01 03:28:48 24 4
gpt4 key购买 nike

我一直面临着使用 Appium 和 Xcode 8 启动检测的问题。我最近知道苹果已经从检测中删除了自动化,因为 Appium(1.5.3) 无法正常工作。
有没有人有解决办法?它会在 Appium v​​1.6.0-beta1 版本中修复吗?

最佳答案

是的,Xcode 8 不再支持 Instruments/UI 自动化,因此 Appium 将无法使用它。现在它必须支持 XCUITest,它取代了 UI 自动化。

Appium 社区正在开发新的 iOS 驱动程序 - 现在是 XCUITest 驱动程序 .

Advantages of the new XCUITest driver:

  • Runs on sims and real devices, including TvOS
  • Is able to run on multiple connected devices in parallel
  • Is much faster (way faster)
  • Less buggy!
  • Better control of simulators
  • Can dismiss system-level alerts!

Disadvantages:

  • Only works on iOS 9.0 and up
  • Still no Notification testing


你可以通过克隆 repo 来获得非官方版本:
  • 从 git 克隆 appium : git clone
    https://github.com/appium/appium.git2
  • 转到克隆文件夹
  • 执行命令:$ npm install

  • (如果出现shrink-wrap 错误=> 执行:$ npm shrink-wrap)

    更多信息在这里: https://discuss.appium.io/t/ios9-uiautomation-what-is-appium-approach-to-uiautomation-deprecation-by-apple/7319/103

    关于Appium 支持 Xcode 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39502020/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com