WDA The file “CocoaAsyncSocket.framework” couldn’t be opened because there is no such file."

Appium 1.18.3 seems to have an issue building webdriveragent. I get these messages in the appium log. Any idea what might be the issue?

[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Installing/updating dependencies for platforms ‘iOS’, ‘tvOS’
[WebDriverAgent] Applying Carthage build workaround to exclude Apple Silicon binaries. See https://github.com/Carthage/Carthage/issues/3019 for more details
[WebDriverAgent] *** Checking out CocoaAsyncSocket at “72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc”
[WebDriverAgent] *** Checking out YYCache at “1.1.2”
[WebDriverAgent] *** xcodebuild output can be found in /var/folders/q1/33cmhbxx7xgg2jmjgmcgrhl00000gn/T/carthage-xcodebuild.TbqSCr.log
[WebDriverAgent] *** Building scheme “iOS Framework” in CocoaAsyncSocket.xcodeproj
[WebDriverAgent] Failed to write to /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Build/iOS/CocoaAsyncSocket.framework: Error Domain=NSCocoaErrorDomain Code=260 “The file “CocoaAsyncSocket.framework” couldn’t be opened because there is no such file.” UserInfo={NSURL=file:///Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/CocoaAsyncSocket/build/ArchiveIntermediates/iOS%20Framework/BuildProductsPath/Release-iphoneos/CocoaAsyncSocket.framework, NSFilePath=/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/CocoaAsyncSocket/build/ArchiveIntermediates/iOS Framework/BuildProductsPath/Release-iphoneos/CocoaAsyncSocket.framework, NSUnderlyingError=0x7fca79c43980 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[BaseDriver] Event ‘wdaStartFailed’ logged at 1604289042447 (21:50:42 GMT-0600 (Central Standard Time))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command ‘/bin/bash /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/Scripts/carthage-wrapper.sh bootstrap --platform iOS,tvOS’ exited with code 1
[XCUITest] Quitting and uninstalling WebDriverAgent

1 Like