尝试从 appium ( https://github.com/appium/WebDriverAgent.git )设置 webdriver 代理。我有:
./Scripts/bootstrap.sh 在终端执行构建失败消息显示“任务失败,退出代码为 1”。我在终端中收到的错误消息如下所示:
Fetching dependencies
*** Checking out YYCache at "1.1.0"
*** Checking out CocoaAsyncSocket at "7.6.4"
*** xcodebuild output can be found in /var/folders/h5/2mqcmnb15y1g476q57tqt8km0000gp/T/carthage-xcodebuild.a5JJLX.log
*** Downloading CocoaAsyncSocket.framework binary at "Version 7.6.4"
*** Building scheme "YYCache tvOS" in YYCache.xcodeproj
Build Failed
Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/cbb01/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8169g/YYCache/1.1.0/Build/Intermediates.noindex/ArchiveIntermediates/YYCache\ tvOS/IntermediateBuildFilesPath/UninstalledProducts/appletvos/YYCache.framework/YYCache /Users/cbb01/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8169g/YYCache/1.1.0/Build/Products/Release-appletvsimulator/YYCache.framework/YYCache -output /Users/cbb01/workspace/WebDriverAgent/Carthage/Build/tvOS/YYCache.framework/YYCache
This usually indicates that project itself failed …Run Code Online (Sandbox Code Playgroud)