Application creation

What does the Mac OS X Info.plist file look like? I only need a minimum, so I have:

  • Runs an executable file
  • Has an icon

Thank!

+5
source share
1 answer

This is a real, minimum minimum:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleExecutable</key>
  <string>ExecutableFileName</string>
  <key>CFBundleIconFile</key>
  <string>AppIcon</string>
</dict>
</plist>

It is also recommended that you enable the key CFBundleIdentifier. In this way, the system can identify your application. I really recommend you turn it on.


You can find additional keys in the Link to the list of information properties .

+4
source

All Articles