0

对 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"

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

4

1 回答 1

0

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

于 2019-09-03T03:56:52.220 回答