question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

appium 1.18.2 - Building scheme "YYCache iOS" in YYCache.xcodeproj - Task failed with exit code 65:

See original GitHub issue

Hi there, first I want to THANK YOU for all the efforts put into the Xcode 12 update.

I have installed appium 1.18.2 + carthage 0.36 and tried to run ./Scripts/bootstrap.sh -d and I get this failure

appium-webdriveragent ./Scripts/bootstrap.sh -d                                                    
Fetching dependencies
Applying Carthage build workaround to exclude Apple Silicon binaries. See https://github.com/Carthage/Carthage/issues/3019 for more details
*** Checking out CocoaAsyncSocket at "72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc"
*** Checking out YYCache at "1.1.0"
*** xcodebuild output can be found in /var/folders/41/0dtvw_tx4v11gntm929t_lsm0000gs/T/carthage-xcodebuild.GNEjYl.log
*** Building scheme "tvOS Framework" in CocoaAsyncSocket.xcodeproj
*** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
*** 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_12A7209/YYCache/1.1.0 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=B92EA767-3736-486E-AF53-4614BF26EFBA -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.GNEjYl.log

If I manually run /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_12A7209/YYCache/1.1.0 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=B92EA767-3736-486E-AF53-4614BF26EFBA -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build

but I replace ONLY_ACTIVE_ARCH=NO with ONLY_ACTIVE_ARCH=YES then the build is successful.

How can I change that NO to YES value into the bootstrap context? If I re-run ./Scripts/bootstrap.sh -d it will not skip the YYCache setup so it will fail again.

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dpgrahamcommented, Sep 22, 2020

Awesome thanks @shaky

Nice work @mykola-mokhnach and @Dan-Maor

1reaction
mykola-mokhnachcommented, Sep 22, 2020

Something looks really odd on your build machine. We are unable to reproduce any of the mentioned issues neither locally nor in Azure CI. Try to deploy the module on a clean machine. Although the workaround is ok if it works for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building scheme "iOS Framework" in CocoaAsyncSocket ...
The problem This issue happens while configuring the appium ... in CocoaAsyncSocket.xcodeproj Build Failed Task failed with exit code 1: # ...
Read more >
Xcodebuild failed with code 65 (WARNING: The server did not ...
Error code 65 is the signing issue.you need to sign it properly with the same developer account (Certificate and profile) which is used...
Read more >
Unable to launch WebDriverAgent because of xcodebuild failure
An unknown server-side error occurred while processing the command. ... WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”.
Read more >
Xcodebuild failed with code 65 (WARNING: The server did not ...
Hi Guys, When i am trying to run my IOS automation txt cases on IOS 10 build,I am getting the below error in...
Read more >
Xcode build failed with code 65 in appium - Issues/Bugs
In IOS 10.1 with xcode 8.1 i am getting below error please help me… HTTP] --> GET /wd/hub/status {} [MJSONWP] Calling AppiumDriver.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found