"Application is not running, possibly crashed"
See original GitHub issueThe 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
(withiOS 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:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.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.