Appium:WebDriverAgent.xcodeproj:Resources / WebDriverAgent.bundle:没有这样的文件或目录

时间:2017-10-13 10:20:11

标签: appium-ios

WebDriverAgent.xcodeproj中运行Xcode时,会显示:

Showing All Messages
CpResource Resources/WebDriverAgent.bundle /Users/moitreyeec/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/WebDriverAgent.bundle
    cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Resources/WebDriverAgent.bundle /Users/moitreyeec/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework

错误:

  

/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Resources/WebDriverAgent.bundle:   没有这样的文件或目录

我搜索过/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

下没有这样的目录

我该如何解决这个问题?

2 个答案:

答案 0 :(得分:1)

您好https://github.com/facebook/WebDriverAgent

终端 - 转到WebDriverAgent的文件夹并运行此命令./Scripts/bootstrap.sh

答案 1 :(得分:0)

启动appium并运行脚本后,应该会自动生成该代码。如果有错误就可以了。

如果没有,请尝试使用mkdir