【问题标题】:Appium:WebDriverAgent.xcodeproj : Resources/WebDriverAgent.bundle: No such file or directoryAppium:WebDriverAgent.xcodeproj:资源/WebDriverAgent.bundle:没有这样的文件或目录
【发布时间】:2018-03-25 10:57:59
【问题描述】:

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

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


    【解决方案1】:

    您好,这将对您有所帮助https://github.com/facebook/WebDriverAgent

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

    【讨论】:

      【解决方案2】:

      这应该会在您启动 appium 并运行脚本后自动生成。有错误就好了。

      如果没有,请尝试使用mkdir

      【讨论】:

        猜你喜欢
        • 2017-08-13
        • 2022-07-26
        • 2019-06-10
        • 2021-06-24
        • 2015-02-20
        • 1970-01-01
        • 2021-09-02
        相关资源
        最近更新 更多