【问题标题】:How To Fix Xcode Build Failed For IOS Automation如何修复 Xcode 构建失败的 IOS 自动化
【发布时间】:2019-06-13 08:51:55
【问题描述】:

在 Xcode 中使用“构建”时,会显示构建失败。我使用 Xcode 9.4 版

我已经重新安装了 xcode,但这不起作用

"CompileC /Users/dpua/Library/Developer/Xcode/DerivedData/WebDriverAgent-dsupbvdgiqknxbghepgvmbuymtic/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentLib.build/Objects-normal/arm64/XCUIElement+FBClassChain.o WebDriverAgentLib/Categories/XCUIElement+FBClassChain.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/dpua/Desktop/git/WebDriverAgent
    export LANG=en_US.US-ASCII
    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"

error: unknown warning option '-Wno-objc-messaging-id'; did you mean '-Wno-objc-cocoa-api'? [-Werror,-Wunknown-warning-option]
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1"

我希望它可以工作,因为它之前可以工作,但就在今天它没有工作并且构建不断失败并出现上述错误消息

【问题讨论】:

    标签: ios xcode appium testautomationfx


    【解决方案1】:

    已解决。我只是卸载/安装 xcode 并从另一台笔记本电脑复制了一个有效的网络驱动程序代理,以便能够再次运行自动化

    【讨论】:

      猜你喜欢
      • 2022-01-09
      • 2019-11-07
      • 2021-07-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多