appium 1.18.1 and Xcode 12 beta 6 - Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj failure
See original GitHub issueThe problem
I’m trying to run my first test on Xcode 12 - Beta 6 but I get a Carthage failure when running ./Scripts/bootstrap.sh
Environment
- appium version: 1.18.1 and v1.18.0-beta.1 (same results with both versions)
- Node.js version (unless using Appium.app|exe): v12.18.3
- Mobile platform/version under test: iOS 14.0 Simulator (Xcode 12, Beta 6 - 12A8189n)
- macOS version: Catalina 10.15.6 (19G2021)
- Carthage version: 0.35.0
Details
- When I first ran ./Scripts/bootstrap.sh I got the this error:
[debug] [WebDriverAgent] *** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
[debug] [WebDriverAgent] Build Failed
[debug] [WebDriverAgent] Task failed with exit code 1:
[debug] [WebDriverAgent] /usr/bin/xcrun lipo -create /Users/testuser/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8189n/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Intermediates.noindex/ArchiveIntermediates/iOS\ Framework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaAsyncSocket.framework/CocoaAsyncSocket /Users/testuser/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8189n/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Products/Release-iphonesimulator/CocoaAsyncSocket.framework/CocoaAsyncSocket -output /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Build/iOS/CocoaAsyncSocket.framework/CocoaAsyncSocket
[debug] [WebDriverAgent] This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/41/0dtvw_tx4v11gntm929t_lsm0000gs/T/carthage-xcodebuild.NH6ujt.log
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1599115027018 (07:37:07 GMT+0100 (British Summer Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS\,tvOS' exited with code 1
Full log here: appium.log
- Then I tried the solution mentioned here (which implies replacing bootstrap.sh) https://github.com/appium/appium/issues/14611#issuecomment-684877737 and then I got this error:
*** Building scheme "YYCache iOS" in YYCache.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/YYCache/Framework/YYCache.xcodeproj -scheme YYCache\ iOS -configuration Release -derivedDataPath /Users/testuser/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8189n/YYCache/1.1.0 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=8FC4ADFD-9205-467B-A0CF-BEB43576CDC5 -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/YYCache)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/41/0dtvw_tx4v11gntm929t_lsm0000gs/T/carthage-xcodebuild.BRhXUe.log
Full logs here: bootstrap.log carthage.log
Please advice.
Thank you in advance!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Here is an error "'CocoaAsyncSocket/GCDAsyncSocket.h' file ...
After my upgrade the xcode version to the Version 12.0 beta 4 . and connect my mobile ... Building scheme "iOS Framework" in...
Read more >Unable to launch WebDriverAgent because of xcodebuild failure
To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. Building for iOS, but the embedded framework 'CocoaAsyncSocket.
Read more >Appium issues at MAC - Support
I made a Hello World app with XCode to test installing and launching the app, but I have the same problems… Here are...
Read more >Can someone using appium(1.18) with Xcode 12 and iOS 14
Hi, I am trying to install webdriveragentrunner for Xcode 12 with appium 1.18? observing error as build failed. could someone help me out....
Read more >Appium Is not working after xcode11 update - Issues/Bugs
Good Day, I updated xcode to 11 from 10 and after that i faced a ... when I execute my test case the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note: https://github.com/Carthage/Carthage/issues/3019
Please try out
appium@beta
for Xcode 12 beta.We’re not sure what Xcode will be in its release (they are adding changes in its beta releases), and the current workaround will be. so the release will be after Xcode release at least, I guess.