Macos – The application “SomeApp.app” can’t be opened

macososx-yosemiteshell

Problem: after downloading an application in OS X Yosemite (10.10.x) trying to open the application (either from the command-line or by double-clicking the application) produces a dialog saying "The application “SomeApp.app” can’t be opened."

the application "LinCastor.app" can't be opened - dialog

Note that this differs from the "SomeApp can't be opened because it was not downloaded from the Mac App Store" or "SomeApp can’t be opened because it is from an unidentified developer” message that is the result of Gatekeeper settings.

Best Answer

After extensive trial-and-error, and a lot of fruitless Googling, I found the solution required modifying the executable status of the "inner" application file. This line: chmod +x SomeApp.app/Contents/MacOS/*

Fixed the problem in all cases that I observed. The +x flags a file as executable, and the only file in the /Contents/MacOS/ directory is a binary representing the actual file that should be executed when you double-click the application (a .app file is really just a folder).

Hope this helps someone else!

Related Question