在配置WebDriverAgent的时候,可能会遇到如下的错误:

2018-01-04 09:53:42.759370-0600 WebDriverAgentRunner-Runner[318:13300] +[CATransaction synchronize] called within transaction
2018-01-04 09:53:43.090645-0600 WebDriverAgentRunner-Runner[318:13300] Running tests...
2018-01-04 09:53:43.354179-0600 WebDriverAgentRunner-Runner[318:13300] The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2018-01-04 09:53:43.354342-0600 WebDriverAgentRunner-Runner[318:13300] (dlopen_preflight(/var/containers/Bundle/Application/41C8100D-E3BF-4D1B-9A26-BA9C9E3479F8/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): Library not loaded: @rpath/RoutingHTTPServer.framework/RoutingHTTPServer
  Referenced from: /private/var/containers/Bundle/Application/41C8100D-E3BF-4D1B-9A26-BA9C9E3479F8/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
  Reason: no suitable image found.  Did find:
/private/var/containers/Bundle/Application/41C8100D-E3BF-4D1B-9A26-BA9C9E3479F8/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer: required code signature missing for '/private/var/containers/Bundle/Application/41C8100D-E3BF-4D1B-9A26-BA9C9E3479F8/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer'
)

Solution:

Go to TARGETS -> WebDriverAgentRunner -> Build Phases -> Copy frameworks

Add RoutingHTTPServer.framework

最新文章

  1. MySQL--InnoDB索引原理详解
  2. rpm包安装过程中依赖问题“libc.so.6 is needed by XXX”解决方法
  3. 【POJ】1269 Intersecting Lines(计算几何基础)
  4. ACM 阶乘数位数
  5. (转)浅析CSS——元素重叠及position定位的z-index顺序
  6. qt中moc的作用
  7. TypeError:_12.store.query is not a function
  8. Django--session(登录用)
  9. Python3+Appium安装使用教程
  10. 跨界 - Omi 发布多端统一框架 Omip 打通小程序与 Web
  11. 在eclipse中使用Tomcat时出现Could not publish server ...错误
  12. redis消息通知(任务队列/优先级队列/发布订阅模式)
  13. ssh生成私钥
  14. Author and Submission Instructions
  15. 51单片机之IIC通信原理及软件仿真
  16. 用redis做简单的任务队列(二)
  17. egg.js连接和使用Mongodb
  18. ExcelVBA实现一键生成word文字报告及批量操作[原创]
  19. 搭建高可用mongodb集群(二)—— 副本集
  20. android学习十二 配置变化

热门文章

  1. 基于AllegroGraph实现Protege设计知识库模型的存储步骤
  2. Linux之清理linux内存cache
  3. 为什么样本方差分母是n-1
  4. OpenNI1.5获取华硕XtionProLive深度图和彩色图并用OpenCV显示
  5. iOS 内购讲解
  6. DMA(直接存储器存取)
  7. CentOS 7下升级Python版本到3.x系列
  8. go 资料
  9. crawler_exa4
  10. Cobalt Strike DNS通讯实例