Creating a Mac app bundle I'm trying to create a Mac app bundle,

So I did this,

mkdir -p android.app/Contents/MacOS/
cp /path/to/myscript.sh android.app/Contents/MacOS/android
chmod +x android.app/Contents/MacOS/android
SetFile -t APPL android.app/Contents/MacOS/android


But when I do open android.app, it prompts me The application cannot be opened because its executable is missing.

That's totally weird. Anyone know how to fix that?

Running Mac OS 10.11.4
App bundles must contain certain files as documented in Apple's Bundle Programming Guide

The required files are


Info.plist file - The information property list file is a structured file that contains configuration information for the application. The system relies on the presence of this file to identify relevant information about your application and any related files.
Executable


So you need an Info.plist