• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging Installer Plugins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Installer Plugins


  • Subject: Re: Debugging Installer Plugins
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 5 Mar 2008 00:54:56 +0100


On Mar 3, 2008, at 8:45 PM, Robert Kukuchka wrote:

How can I set up a Custom Executable to properly Debug an Installer Plugin from within XCode 3.0? With most bundles it's a fairly straight forward process, but I'm missing something in setting this up. Any helpers out there?

Here's how you can do it in Xcode 2.3 (I don't think it would be different with Xocde 3.0) (*)


1. Open your Installer Plugin Xcode project

2. Create the debug version of your plugin and add the plugin to the appropriate package/metapackage.

3. In Xcode, still with your Installer Plugin project:

	i) Choose Project > New Custom Executable...

	ii) Click Choose...

iii) Select Installer.app (in /Applications/Utilities on Mac OS X < 10.5 and in /System/Library/CoreServices/ on Mac OS X 10.5)

	iv) Click Finish

	v) Set your breakpoints

	vi) Choose Debug > Debug Executable

4. Debug



(*) Adapted from the post on Unsanity weblog (http://unsanity.org/ archives/000391.php)



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Debugging Installer Plugins (From: Robert Kukuchka <email@hidden>)

  • Prev by Date: setting permissions of installed items from command line
  • Next by Date: Re: setting permissions of installed items from command line
  • Previous by thread: Debugging Installer Plugins
  • Next by thread: postinstall script still failing
  • Index(es):
    • Date
    • Thread