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.

"Application is not running, possibly crashed"

See original GitHub issue

The problem

Running Appium 1.6.4-beta.2 on any non-iPad device crashes the app on startup. iPad Air 2, iPad Air, iPad Pro (9.7 inch) and iPad Pro (12.9 inch) all work fine. iPhone 7 Plus, iPhone 5s and others crash.

The app also works fine when run from Xcode directly; it is not crashing.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.4-beta.2
  • Last Appium version that did not exhibit the issue (if applicable): 1.6.3 (with iOS 10.2)
  • Desktop OS/version used to run Appium: macOS 10.12.4
  • Node.js version (unless using Appium.app|exe): v7.5.0
  • Mobile platform/version under test: iOS 10.3
  • Real device or emulator/simulator: simulator
  • Appium CLI or Appium.app|exe: CLI

Details

As can be seen in the logs, creating a WDA session is failing. WDA is started when booting, after which the app is booted… but then crashes. As also can be seen in the logs, the app then restarts, but just keeps crashing.

Link to Appium logs

https://gist.github.com/BasThomas/93ef691feb7498d354e55350cdad8f8f

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
BasThomascommented, Apr 3, 2017

Thanks for the pointer, @ochubey. Installing the app with xcrun and then using the app doesn’t crash it, but via Appium (which WILL reinstall the app), it once again is crashing.

0reactions
lock[bot]commented, Apr 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Crashing Apps on an iPhone or Android?
If you have an app that does not respond when you try to interact with it on your smartphone screen, the traditional fix...
Read more >
iOS application crashes on start w… | Apple Developer Forums
Hello, We are experiencing a weird crash on iPad when the game starts and we don't know what's causing it. We narrowed down...
Read more >
Appium iOS Testing - Crash with invalid Element State
It's possible that Appium is running the app so fast that it's exposing a race condition that you would rarely see when using...
Read more >
Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Appium opens app but crashes when executing test
Problem could be with emulators itself. Try changing OS or Emulator Device Model.
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