Installation - The Lost Scrolls > Installer Plugins >

102 - Debugging an Installer Plugin

Objective


Debug an Installer plugin from Xcode.

Instructions

Step 1 : Configure your Xcode project

1Open your plugin project in Xcode.
2Choose Project > New Executable…
3Click Choose.
4Select Installer.app.

You can find Installer.app in /System/Library/CoreServices on Mac OS X 10.5 (or later) and in /Applications/Utilities on earlier versions.

5Click Finish.
6Choose Project > Set Active Build configuration > Debug.
7Choose Build > Build.

Step 2 : Debug

1Add breakpoints in Xcode
2Copy your plugin into the Plugins folder.
3Choose Debug > Debug Executable in Xcode.
4Open your package with Installer.app.


Last Updated: 2008-04-05