Skip to content

How to Fix macOS Application Crashed Immediately

DodaTech Updated 2026-06-24 2 min read

In this tutorial, you'll learn about How to Fix macOS Application Crashed Immediately. We cover key concepts, practical examples, and best practices.

The Problem

You open an application and it immediately closes:

The application "MyApp" quit unexpectedly.
macOS may have an error report available.

Or the app bounces in the Dock once and disappears.

The app crashes during launch due to corrupted preferences, incompatible architecture, or missing dependencies.

Quick Fix

Step 1: Read the crash report

Click Report in the crash dialog. The crash report shows:

  • Exception Type: EXC_BAD_ACCESS (memory), SIGABRT (assertion)
  • Crashed Thread: Which thread crashed
  • Backtrace: The last function calls before the crash

Look for the library or framework name in the backtrace to identify the culprit.

Step 2: Check the console for detailed logs

open /Applications/Utilities/Console.app

Search for the app name and filter by Crash Reports or Error. The log often contains a more detailed explanation than the crash dialog.

Step 3: Clear app preferences

rm ~/Library/Preferences/com.example.myapp.plist

Corrupted preference files are a common cause of immediate crashes. The app recreates the file on next launch.

Step 4: Check for Rosetta requirement

On Apple Silicon Macs, Intel apps need Rosetta 2:

softwareupdate --install-rosetta

If the crash report shows EXC_BAD_INSTRUCTION, the app is Intel-only and Rosetta is not installed.

Step 5: Verify app architecture compatibility

file /Applications/MyApp.app/Contents/MacOS/MyApp

Expected:

Mach-O 64-bit executable x86_64    (Intel only)
Mach-O 64-bit executable arm64     (Apple Silicon only)
Mach-O 64-bit executable x86_64 arm64  (Universal)

Step 6: Reinstall the application

# Fully uninstall
rm -rf /Applications/MyApp.app
rm -rf ~/Library/Application\ Support/MyApp
rm ~/Library/Preferences/com.example.myapp.plist
rm ~/Library/Caches/com.example.myapp/

Then download a fresh copy from the official source.

Step 7: Check disk permissions

diskutil repairPermissions /

On older macOS versions (pre-Catalina), repaired permissions can fix launch issues.

Step 8: Run First Aid on the disk

diskutil verifyVolume /

If the disk has errors, the app binary may be corrupted:

diskutil repairVolume /

Prevention

  • Keep macOS and apps updated to the latest versions.
  • Use CleanMyMac or similar tools to clear caches monthly.
  • Do not delete app preference files unless troubleshooting.

Common Mistakes with app crashed

  1. Mixing let bindings with <- bindings in do notation, producing type errors
  2. Overlapping type class instances that cause GHC to reject the program with ambiguous dispatch errors
  3. Non-exhaustive pattern matches that compile with warnings then crash at runtime

These mistakes appear frequently in real-world MACOS code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.

Practice Exercise

Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.

This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.

FAQ

### Why does an app crash immediately after update?

The update may have corrupted the preference file or changed the data format. Clear preferences and restart.

How do I run an app in verbose mode to see crash logs?

Some apps support --verbose or --debug flags. Run from Terminal: /Applications/MyApp.app/Contents/MacOS/MyApp --verbose.

Can incompatible kexts cause app crashes?

Yes. Third-party kernel extensions can destabilize the system. Check for loaded kexts with kextstat | grep -v com.apple.

DodaTech Tool Reference

Durga Antivirus Pro's App Verifier scans macOS applications for code signing issues and library dependencies that could cause launch failures.

Built by the developers of DodaTech

Doda Browser, DodaZIP & Durga Antivirus Pro