Xcode 12 Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj Build Failed



Hi

I have update my xcode to 12.0.1 and appium desktop to 1.18.1.
While executing the command []to setup the Webdriver agent on my iphone i got the following error.

Build Failed
Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/username/Library/Caches/org.carthage.CarthageKit/DerivedData/12.012A7209/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Intermediates.noindex/ArchiveIntermediates/iOS\ Framework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaAsyncSocket.framework/CocoaAsyncSocket /Users/username/Library/Caches/org.carthage.CarthageKit/DerivedData/12.012A7209/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Products/Release-iphonesimulator/CocoaAsyncSocket.framework/CocoaAsyncSocket -output /Applications/Appium.app/Contents/Resources/app/nodemodules/appium/nodemodules/appium-webdriveragent/Carthage/Build/iOS/CocoaAsyncSocket.framework/CocoaAsyncSocket

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/v_/71vwfh212gs556f4xdhtts740000gr/T/carthage-xcodebuild.XVQQ9z.log













I have same issue while running ./Scripts/bootstrap.sh -d
I managed to fix it,

open terminal and run this:
npm i appium@1.19.0-beta.0

then run appium from terminal (do not run appium desktop!)
(open terminal and run: appium)

thats it.
it will be fixed on the next version of appium desktop

Xcode 12 Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj Build Failed
 
 
Q