Home Guides Interfaces Troubleshooting

Scripting Page

docWindowOverviewicon.pngWindow Overview

Integrate With Xojo

  1. Select "Scripting" from the sidebar
  2. Click "Xojo Script" at the top of the page.
  3. Click "Copy Script" at the top of the page.
  4. Switch to Xojo and your project.
  5. In the navigator, scroll to the bottom and select the "macOS" item.
  6. Click on the "Insert" item on the menubar, then select "Build Step", then "Script"
  7. Click into the code editing area of the new Build Script and paste (⌘-V)
  8. Run your project in Xojo.

Xojo 2020r2.1 - Additional Step

  1. Click "Add XojoBuildPressed Script", then select the Xojo project for this app.
  2. A "Scripts" folder will be made next to the project, with a Xojo Script "XojoBuildPressed".
  3. This script will be called when building the project with Xojo 2020r2.1.

The XojoBuildPressed script overrides the Xojo building process allowing for the separate processor architectures to be processed as one, instead of processing them separately.

Integrate With Other tools

Select the "Shell Script" option, then highlight and copy the script code. Please check with your development tools on how to integrate with 3rd Party Apps during debugging and building.

Scripting Commands

There are a couple of command available at the moment.

-log <path>

Tells App Wrapper to log the results of debug processing to the file at <path>.

-log ~/Desktop/iconographer.debug.log

-doc <path>

Tells App Wrapper to use a specific document at <path> for processing the application with.

-doc "/Volumes/rowlands/Library/App Wrapper 4 Data/Documents/Icon Composer.debug.aw4"

-channel <option>

-channel ass

-XojoVer <version>

Writes <version> from the Xojo script into the version number of the Xojo Framework included in the bundle.

"-XojoVer " + Format( XojoVersion, "0000.00#" )

-CFBundleVersion <version>

Writes <version> to the LC_SOURCE_VERSION in the executable and the plist.

-CFBundleVersion ""


Overwrites the minimum OS version in the plist.

-LSMinimumSystemVersion "10.15"

-pack only

Skips processing of the application, to simply pack it and possibly submit to Apple.

-pack only

-disable <option>