Skip to content

Instantly share code, notes, and snippets.

@username1290
Created November 4, 2019 15:47
Show Gist options
  • Save username1290/766c8c9f7e34ffa0ff5185b514912f4d to your computer and use it in GitHub Desktop.
Save username1290/766c8c9f7e34ffa0ff5185b514912f4d to your computer and use it in GitHub Desktop.
App can't be opened
# https://superuser.com/questions/898124/the-application-someapp-app-can-t-be-opened
# 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment