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.

WebDriverAgent starts but crashes on iOS 14.5.1 and Xcode 12.5

See original GitHub issue

The problem

I am trying to run webdriveragent using the command “xcodebuild test-without-building -xctestrun”, the webdriveragent starts but it crashes with the below message, and I am not sure why.

** BUILD INTERRUPTED **
zsh: terminated  /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild  -xctestrun

Environment

  • Appium version - 1.20.2
  • Last Appium version that did not exhibit the issue (if applicable): NA
  • Desktop OS/version used to run Appium: MACOS BigSur - 11.2.3
  • Node.js version (unless using Appium.app|exe): v12.18.3
  • Npm or Yarn package manager: NPM
  • Mobile platform/version under test: iOS/14.5.1
  • Real device or emulator/simulator: Real Device
  • Appium CLI or Appium.app|exe: Appium CLI
  • Xcode version: 12.5

Details

The webdriveragent successfully runs without crashing if I downgrade the Xcode version to 12.4 and iOS version below 14.5.

Link to Appium logs

https://gist.github.com/sai-tirunagiri/83189c2f37cc6c3c11645adb21c9c31b

Please advice.

Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
JyotiKatiyarcommented, Oct 5, 2021

i am having mac os: big sur 11.4 Xcode: 13.0 appium : 1.21.0 and m not able to launch the app either from automation or appium, getting error like Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8100

[](ur appium-server-logs.txt l)

0reactions
Thuytiencommented, May 13, 2021

@sai-tirunagiri : thank you. In my case, it works with Appium-desktop v1.21.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sudden crash on launch from all TestFlight builds
We've been getting a crash on launch starting today from all processed builds ... The app runs fine under Xcode on an iPad...
Read more >
dyld`__abort_with_payload: Without an error message
The app crashes whenever the settings "Allow Apps to Request to Track" was enabled (when disabled, everything worked well). The crash in Xcode...
Read more >
WebDriverAgentRunner crash (Appium 1.6.0 - Xcode 8 - iOS ...
and installs WebDriverAgent app and then, WebDriverAgent app flashes for a second and disappears (crash on launch). MyApp does not launch.
Read more >
Async Await crash on iOS14 with Xcode 13.2.1 - Swift Forums
The crash does not occur when I am running the code through Xcode but happens when I launch the app from home screen...
Read more >
Fixed iPhone Apps Keep Crashing After iOS 16.2 Update in ...
After iOS 16 Update, Fix iPhone apps open and close immediately What to do my Auto Close On Start-Up on iPhone, iPadOS 16...
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