Friday, March 20, 2015

Debugging an Installer Plugin


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.


Product->Scheme->Edit scheme -> 
This will launch below screen








No comments:

Post a Comment