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

问题描述 投票:0回答:2

当在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下没有这样的目录

我怎样才能解决这个问题?

appium-ios
2个回答
1
投票

嗨,这将帮助你https://github.com/facebook/WebDriverAgent

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


0
投票

一旦您启动appium并运行脚本,这应该是自动生成的。如果有错误就没问题。

如果没有,请尝试使用mkdir

© www.soinside.com 2019 - 2024. All rights reserved.