Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ICA sdk



I don't know about image capture stuff, but if you are building a plugin for the "image capture" app or iPhoto, then you want to build your plugin, put it in the right place and then run the debugger on the application that will use the plugin. I do this all the time with System Preference Panes.

In Xcode you want to do the following:
1) Setup the target to build the correct plugin bundle format
2) "New Custom Executable" from the "Project Menu" - Set it to the test app.
3) Create a soft link in the Target Apps plugin folder that points to the plugin in your build directory


Now you can set break points in your plugin and choose Debug from XCode. XCode will launch the Target app in the debugger. The Target app will follow the simlink and load your plugin. The debugger will stop on any of your break points.

Very handy technique indeed.

-raleigh


On Jan 27, 2005, at 11:01 PM, Harry Brown wrote:

hi all!!
i just download the image capture SDK. so i was just
wondering how do i debug a application driver like the
sample SimplePTPCamera found in the sdk? do i use
xcode to excecute it? or do i need to package it and
then put it in the still capture folder and then use
iphoto to test it out?

oh yar and how do i modify the sample to have iPhoto
detect my camera? i change the Plist but then it
doesn't seem to work as it just open iphoto the moment
i plug in my camera but then no camera was detected.
pls drop me a hint ok!
thks alot!!


__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden


------------------------------------------------------------------------ -------
Raleigh Ledet email@hidden
Wacom Technology Corp. Towards the Harmonious
Mac Software Engineer Development Between
Human and Computer.
------------------------------------------------------------------------ --------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden


This email sent to email@hidden
References: 
 >ICA sdk (From: Harry Brown <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.