xcode9 未能载入软件包“WebDriverAgentRunner”,因为它已损坏或丢失必要的资源。 请尝试重新安装软件包。
2018-01-07 09:55:38.943702 WebDriverAgentRunner-Runner[267:10723] Running tests…
2018-01-07 09:55:39.023090 WebDriverAgentRunner-Runner[267:10723] 未能载入软件包“WebDriverAgentRunner”,因为它已损坏或丢失必要的资源。 请尝试重新安装软件包。
2018-01-07 09:55:39.024247 WebDriverAgentRunner-Runner[267:10723] (dlopen_preflight(/var/containers/Bundle/Application/BF65321A-93DD-4825-9004-65A06AB46795/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): Library not loaded: @rpath/RoutingHTTPServer.framework/RoutingHTTPServer
Referenced from: /private/var/containers/Bundle/Application/BF65321A-93DD-4825-9004-65A06AB46795/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/BF65321A-93DD-4825-9004-65A06AB46795/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer: required code signature missing for ‘/private/var/containers/Bundle/Application/BF65321A-93DD-4825-9004-65A06AB46795/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer’
)
解决方法: