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.

WDA issue with iOS 13.3.1 - fails with error code 65

See original GitHub issue

The problem

After updating my iOS devices to 13.3.1, WebDriverAgentRunner is not launching during tests and throws. Same setup works with iOS 13.3.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.16.0 (also in 1.15.1/1.15.0)
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: MacOS Mojave 10.14.6
  • Node.js version (unless using Appium.app|exe):v12.8.1
  • Npm or Yarn package manager: npm
  • Mobile platform/version under test: iOS 13.3.1
  • Real device or emulator/simulator: Real device
  • Appium CLI or Appium.app|exe: CLI

Details

Test for WDA also fails when done through terminal using xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' test.

Testing failed: WebDriverAgentRunner: WebDriverAgentRunner-Runner.app (401) encountered an error (Failed to load the test bundle. (Underlying error: The bundle “WebDriverAgentRunner” couldn’t be loaded because it is damaged or missing necessary resources. The bundle is damaged or missing necessary resources. dlopen_preflight(/var/containers/Bundle/Application/8E2FE945-0283-4FC9-9EE1-882E297CBF43/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): no suitable image found. Did find: /var/containers/Bundle/Application/8E2FE945-0283-4FC9-9EE1-882E297CBF43/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: code signature invalid for '/var/containers/Bundle/Application/8E2FE945-0283-4FC9-9EE1-882E297CBF43/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner' ))

Link to Appium logs

https://gist.github.com/tusharwgames/8e6b43b7620de6cafce82c9c06242966

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:34 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Mar 1, 2020

Thanks for the mention @is

It is stated there that Apple has addressed the issue in iOS 13.4 beta: https://github.com/flutter/flutter/issues/49504#issuecomment-592223977

1reaction
tusharwgamescommented, Feb 13, 2020

@NirBY I used this guide (h/t @annabutenko) to rollback one of my iPads. No jailbreak needed. https://www.redmondpie.com/downgrade-ios-13.3.1-to-ios-13.3-for-checkra1n-jailbreak-heres-how/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to launch WebDriverAgent because of xcodebuild failure
Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Read more >
Current Xcode 13.3.1 does not work with 15.4.1 iOS error ...
Attempting to use latest version of ipads on 15.4.1 on Mac Mini with latest Xcode 13.3.1 but returning the following error. The error...
Read more >
appium/appium - Gitter
Hello. I've been trying to open the app with appium on an iOS simulator (iPhone 11 Pro 13.4.1) and i get this error....
Read more >
xcode - I set up Appium for Real iOS device, Unable to launch ...
I've read that error 65 is often caused by using a free account, but I'm using the xcodeSigningId for our development team. I...
Read more >
failed to build ios project. we ran "xcodebuild" command but it ...
To solve this issue, all I had to do was go to Xcode > Window > Devices and Simulators, and delete the offending...
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