Exporting Plug-ins

When you are ready to export your plug-in or modem script, click the Export button in the toolbar. An alert panel appears asking if you have tested the plug-in. Click Yes if you completed the testing phase or Cancel if you want to continue testing the plug-in.

If you click Yes, a sheet appears allowing you to enter a filename and select an export format from a pop-up menu, as shown in Figure 4-1. Enter the filename, choose a format, and click Export.

Figure 4-1  Exporting sheet
Exporting sheet

Which format you choose depends on how you want to ship your plug-in and if you want to export the modem script separately. For example, if you want to ship the plug-in as a downloadable package, you might choose "Disk image with installer." If the plug-in is part of another product, then you might choose "iSync plug-in" and include the file in the product package. If you want to just export the modem script choose “Modem Script bundle.“ The possible export formats are described in Table 4-1.

Table 4-1  Export formats

Format

Description

iSync plug-in

Exports the plug-in in a bundle format that can be loaded by iSync. This bundle includes the iSync plug-in only, not the modem script bundle.

For example, choose this format if you want to run some manual tests on your local computer. See iSync Manual Test Suite Guide for manual tests that you should run before shipping your plug-in.

iSync looks in ~/Library/PhonePlugins and then /Library/PhonePlugins for phone plug-in files. Move your phone plug-in file to one of these folders. Create the folder if it doesn’t exist.

Modem Script bundle

Exports the modem script as a bundle independent of the iSync plug-in. Choose this option if you are just adding CCL support for a device.

Installer package

Exports the plug-in as an installer package. Choose this format if you are releasing the plug-in separately. For example, choose this format if you make the plug-in available on a CD or DVD. Select the appropriate options below the “Export format” menu to include just the iSync plug-in, just the modem script, or both in the installer package.

Disk image with installer

Exports the plug-in as an installer in a convenient disk image that is ready for release. For example, choose this option if you want to make the plug-in downloadable. Select the appropriate options below the “Export format” menu to include just the iSync plug-in, just the modem script, or both in the disk image.