当在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
下没有这样的目录
我怎样才能解决这个问题?
嗨,这将帮助你https://github.com/facebook/WebDriverAgent
终端 - 转到WebDriverAgent的文件夹并运行此命令./Scripts/bootstrap.sh
一旦您启动appium并运行脚本,这应该是自动生成的。如果有错误就没问题。
如果没有,请尝试使用mkdir