FP Markets  帮助中心

Mac MT4/5 “App Damaged” Issue Guide

Updated 1 week Ago

When Mac users download MT4/MT5 from the internet and encounter installation errors like “App is damaged” or cannot open the application, it is usually due to macOS enhanced security features. Here is a complete step-by-step solution.


Common Error Messages

  1. App is damaged

Alert: “App” is damaged and cannot be opened. Move it to the Trash.

  1. Cannot verify developer

Alert: Cannot open “App” because the developer cannot be verified. macOS cannot check this app for malicious software.

  1. App may harm your computer

Alert: “App” may harm your computer. Move it to the Trash.


Solutions

Step 1: Allow apps from anywhere

  1. Open Terminal and run (enter your password when prompted):
sudo spctl --master-disable
  1. Go to System Preferences → Security & Privacy → General, and allow apps from anywhere.

For macOS Ventura and later: System Settings → Privacy & Security → Security.


Step 2: Remove app quarantine attributes

  1. Open Terminal and run:
sudo xattr -dr com.apple.quarantine /Applications/name.app

You can drag the app to the command line if unsure of the path.

  1. To remove quarantine from all apps (generally safe):
sudo xattr -cr /Applications/*

Step 3: Additional step for macOS Ventura and later

  1. After steps 1 and 2, go to System Settings → Privacy & Security → Security and click Open Anyway.
  2. This only needs to be done once; afterward, the app will open normally.

Also applies to macOS Sonoma and Sequoia.


Step 4: Re-sign the app (if certificate issue)

  1. Install Command Line Tools for Xcode:
xcode-select --install

Or download from Apple Official.

  1. Re-sign the app via Terminal:
codesign --force --deep --sign - /Applications/name.app

Step 5: Override malware protection

  1. If you see the warning that the app may harm your computer:
  • Finder → Applications → Right-click the app → Get Info → check Override Malware Protection.

After completing these steps, the MT4/MT5 application should install and run normally on your Mac.


Related Articles

目录