Step 1 : Configure your Xcode project
| 1 | Open your plugin project in Xcode. |
| 2 | Choose Project > New Executable… |
| 3 | Click Choose. |
| 4 | Select 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. |
|
| 5 | Click Finish. |
| 6 | Choose Project > Set Active Build configuration > Debug. |
| 7 | Choose Build > Build. |
Step 2 : Debug
| 1 | Add breakpoints in Xcode |
| 2 | Copy your plugin into the Plugins folder. |
| 3 | Choose Debug > Debug Executable in Xcode. |
| 4 | Open your package with Installer.app. |
Product->Scheme->Edit scheme ->
This will launch below screen
No comments:
Post a Comment