Configure Tools in PureBasic
- Open "Configure Tools..."
- Select "New"
- Commandline: open
- Arguments: /Applications/plistTool.app --args "%COMPILEFILE" "%EXECUTABLE" "%PATH"
- Name: plist Tool
- Event to trigger the tool: After Compile/Run
- Select - "Wait until tool quits"
- Select - "Hide Tool from the Main menu"
- Click "Ok"
Event to trigger the tool: After Create Executable
Download plistTool v1.1 (Developer signed for OS X 10.6+)

Usage
Within the PureBasic source code, you can use ;@@ to set something in the Info.plist file and ;@R to embed a resource.
By default the tool shows a window with information. If you don't want to show this, you can use
;@@ DisableDebugWindow
This doesn't disable the PureBasic debug window, only the window of the tool.
Example
Code: Select all
;@@ LSMinimumSystemVersion = 10.6
;@R MyImage.png
MessageRequester("Test", "Test application")
Code: Select all
;@@ <key>CFBundleTypeExtensions</key>
;@@ <array>
;@@ <string>ext</string>
;@@ </array>
It allows you to use the debug feature of PureBasic with the Info.plist settings set as you wish and resources included.
ScreenShot
