Error: ...Building scheme "RoutingHTTPServer" in RoutingHTTPServer.xcodeproj Build Failed Task failed with exit code 65:

Hello,

to anyone that works with MacOs, from this document I am having an error in step 3 when executing this command: ./Scripts/bootstrap.sh -d
https://docs.katalon.com/docs/create-tests/manage-projects/set-up-projects/mobile-testing/ios/mobile-install-webdriveragent-for-real-ios-devices-in-katalon-studio

Fetching dependencies
*** Checking out RoutingHTTPServer at “v1.0.2”
*** xcodebuild output can be found in /var/folders/_p/tcv9nxkj3q97nlz3jmlp686c0000gn/T/carthage-xcodebuild.y8PWDI.log
*** Building scheme “RoutingHTTPServer” in RoutingHTTPServer.xcodeproj
Build Failed
Task failed with exit code 65:
…The following build commands failed:
Ld /Users/user/Library/Caches/org.carthage.CarthageKit/DerivedData/15.0.1_15A507/RoutingHTTPServer/v1.0.2/Build/Intermediates.noindex/ArchiveIntermediates/RoutingHTTPServer/IntermediateBuildFilesPath/RoutingHTTPServer.build/Release/RoutingHTTPServer.build/Objects-normal/x86_64/Binary/RoutingHTTPServer normal x86_64 (in target ‘RoutingHTTPServer’ from project ‘RoutingHTTPServer’)
(1 failure)

Found this post but no solution there…

If I start the recorder with ios device I also get an error and If I try to install WebdriverAngent from tools/IOS/install WebdriverAngent I also get an error.

Complementary info:

  • I do have developer account
  • I have already created the webdriveragent build directly in xcode, no issues, no errors
  • it was missing from default homebrew folder: /Users/automator/.katalon/tools/homebrew/bin/
  1. bootstrap.sh
  2. cartfile
  3. webdriveragent
    These files I had to copy to katalon homebrew folder manually from git clone webdriveragent.

With:

  • Macos 14.1
  • Katalon 9.0.0
  • Xcode 15
  • appium 1.22.3
  • real ios 17 device or simulator

Hope someone knows how to use the application in Macos and can create a current step by step Tutorial or document that actually works.

Thx.

1 Like

Hi,

I found this post relevant. Please refer: WebDriverAgent failed to build: Assign property / Could not build RoutingHTTPServer - #17 by fap

Thx!

although I am stuck in step 3 from the document mentioned above
error; ./Scripts/bootstrap.sh -d
and cannot build the project from the recomended document °
line: ```
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=’ test

Error: Testing failed:
	Cannot link directly with 'XCTAutomationSupport' because product being built is not an allowed client of it
	Linker command failed with exit code 1 (use -v to see invocation)
	Testing cancelled because the build failed.
1 Like