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.

'RoutingHTTPServer/RoutingConnection.h' file not found

See original GitHub issue

The problem

‘RoutingHTTPServer/RoutingConnection.h’ file not found.

I have gone through these steps:-

mkdir -p Resources/WebDriverAgent.bundle ./Scripts/bootstrap.sh -d

On executing command:- ./Scripts/bootstrap.sh -d Error Description:-

Vikass-MacBook-Pro:appium-webdriveragent himanshug$ ./Scripts/bootstrap.sh -d

Fetching dependencies *** Checking out CocoaAsyncSocket at "7.6.3" *** Checking out RoutingHTTPServer at "v1.0.2" *** Checking out YYCache at "1.1.0" *** xcodebuild output can be found in /var/folders/5z/0p24p7t93qg9qm1kfqsksm6m0000gp/T/carthage-xcodebuild.09o1Z5.log *** Downloading CocoaAsyncSocket.framework binary at "Version 7.6.3" *** Building scheme "RoutingHTTPServer tvOS" in RoutingHTTPServer.xcodeproj Failed to write to /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Build/tvOS/RoutingHTTPServer.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “RoutingHTTPServer.framework” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/RoutingHTTPServer/build/ArchiveIntermediates/RoutingHTTPServer%20tvOS/BuildProductsPath/Release-appletvos/RoutingHTTPServer.framework, NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/RoutingHTTPServer/build/ArchiveIntermediates/RoutingHTTPServer tvOS/BuildProductsPath/Release-appletvos/RoutingHTTPServer.framework, NSUnderlyingError=0x7f8bbd53a800 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} Vikass-MacBook-Pro:appium-webdriveragent himanshug$ pwd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent

Also I tried the following solution :- https://github.com/appium/appium/issues/11982

carthage bootstrap --no-use-binaries cp Cartfile.resolved Carthage ./Scripts./bootstrap.sh -d

The first command of the above gives this error:

Vikass-MacBook-Pro:appium-webdriveragent himanshug$ pwd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent

Vikass-MacBook-Pro:appium-webdriveragent himanshug$ carthage bootstrap --no-use-binaries

*** Checking out RoutingHTTPServer at "v1.0.2" *** Checking out CocoaAsyncSocket at "7.6.3" *** Checking out YYCache at "1.1.0" *** xcodebuild output can be found in /var/folders/5z/0p24p7t93qg9qm1kfqsksm6m0000gp/T/carthage-xcodebuild.NCajDO.log *** Building scheme "Mac Framework" in CocoaAsyncSocket.xcodeproj Failed to write to /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Build/Mac/CocoaAsyncSocket.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “CocoaAsyncSocket.framework” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/CocoaAsyncSocket/build/ArchiveIntermediates/Mac%20Framework/BuildProductsPath/Release/CocoaAsyncSocket.framework, NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Checkouts/CocoaAsyncSocket/build/ArchiveIntermediates/Mac Framework/BuildProductsPath/Release/CocoaAsyncSocket.framework, NSUnderlyingError=0x7f80de660a80 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

How do i get the RoutingHTTPServer/RoutingConnection.h file to build my webdriveragent project.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.15.1
  • Desktop OS/version used to run Appium: macOS high sierra, version 10.13.4
  • Node.js version (unless using Appium.app|exe): node v9.6.1
  • Npm or Yarn package manager: npm version 6.13.1
  • Mobile platform/version under test: iphone 6
  • Real device
  • Appium CLI or Appium.app|exe: Appium installed through npm

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:23 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
mykola-mokhnachcommented, Dec 20, 2019

Closed as not an appium issue.

1reaction
KazuCocoacommented, Dec 17, 2019

You can get below repositories and build them.

Then, you can find .framework binaries in Developer/Xcode/DerivedData/Xxxxx/Build/Products.

btw, if your environment has a write permission issue, npm install -g appium --unsafe-perm=true --allow-root will help after uninstalling appium, I remember.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'RoutingHTTPServer/RoutingConnection.h' file not found #1040
The explanation of "ctrevarthen" worked for me. In Terminal enter the path of the WebDriverAgent folder eg. /Applications/Appium.app/Contents/Resources/app/ ...
Read more >
'RoutingHTTPServer/RoutingConnection.h' file not found
It is issue with the WebDriverAgent. RoutingConnection.h file may be missing in webdriveragent project. Try to uninstall and install the ...
Read more >
'RoutingHTTPServer/RoutingConnection.h' file not found
Hi all,. i have a problem, when build IPA to real device at the log shown “RoutingHTTPServer/RoutingConnection.h” file not found.
Read more >
'RoutingHTTPServer/RoutingConnection.h' file not found
Hi All,. I am facing the below issue while installing WebDriverAgent using Terminal. Appium : 1.6.4. Xcode : 8.3. MAC : 10.12.
Read more >
RoutingHTTPServer/RoutingConnection.h' file not found
It is issue with the WebDriverAgent. RoutingConnection.h file may be missing in webdriveragent project. Try to uninstall and install the appium and run...
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