【发布时间】:2018-04-18 23:28:09
【问题描述】:
Mac 操作系统: 10.13.4
Xcode: 9.3
Appium: 1.7.2
我无法使用 xcode 构建 WebDriverAgent 和安装 WebDriverAgent。我已经重新安装了 Appium,并且当前用户在安装 appium 模块的文件夹中确实具有 R/W 权限。我也关注了real device setup tutorial
2018-04-12 10:47:58.039414-0500 WebDriverAgentRunner-Runner[233:6835] Running tests...
2018-04-12 10:47:58.924245-0500 WebDriverAgentRunner-Runner[233:6835] The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2018-04-12 10:47:58.925176-0500 WebDriverAgentRunner-Runner[233:6835] (dlopen_preflight(/var/containers/Bundle/Application/D2529C60-100A-4A31-AD0D-C5F4A33920F2/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): Library not loaded: @rpath/RoutingHTTPServer.framework/RoutingHTTPServer
Referenced from: /private/var/containers/Bundle/Application/D2529C60-100A-4A31-AD0D-C5F4A33920F2/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/D2529C60-100A-4A31-AD0D-C5F4A33920F2/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer: required code signature missing for '/private/var/containers/Bundle/Application/D2529C60-100A-4A31-AD0D-C5F4A33920F2/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer'
)
2018-04-12 10:47:59.008 xcodebuild[68163:1492596] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed:
Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
** TEST FAILED **
【问题讨论】:
标签: ios appium bootstrapping xcodebuild