Re: xcodes deployment
Re: xcodes deployment
- Subject: Re: xcodes deployment
- From: Alan Smith <email@hidden>
- Date: Tue, 31 Jan 2006 16:57:48 -0500
Ah, yes, I understand. Okay, for starters the DesktopPictureDockMenu (I
found the name) is a small dock menu that can change the desktop picture.
The way I had originally wanted to do this in my app was to edit the
com.apple.desktop.plist file and set the desktop picture from there, using
CFPreferences. But, thanks to this mailing list, I use the function that
Apple wrote and put in DesktopPictureDockMenu (cut and pasted it). That
explained, here is the error when the Carbon framework is linked with
"include <Carbon/Carbon.h>" as opposed to "import <Carbon/Carbon.h>" (import
is used if the framework is added to your project via XCode), just a note,
the app is called "Back Flap":
Back Flap:0: build/Back Flap.build/Back
Flap.build/Objects-normal/ppc/theController.o
illegal reference to symbol: _AESend defined in indirectly referenced
dynamic library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Now the other one, with the Carbon framework added via XCode to the project:
Back Flap:0: Undefined symbols: __CFPreferencesCopyValueNoCache referenced
from CarbonCore expected to be defined in CoreFoundation
The problem seems to be coming from the DesktopPictureDockMenu because I
don't use AESend or CFPreferences anywhere else. If you want to see that
source it's the attachment.
I hope that covers everything, let me know if it doesn't, Alan
On 1/31/06, Daniel Jalkut <email@hidden> wrote:
>
> I just think these types of things need to be as explicit as
> possible. Probably doesn't make sense to attach the source. Just
> paste the actual error and explain what things like
> DockDesktopPictureMenu is and why you think it's important that other
> readers know you're using it.
>
> Good luck!
>
> D
>
> On Jan 31, 2006, at 9:06 AM, Alan Smith wrote:
>
> > Okay, I'll paste the errors. Would it help if I attached the
> > source? The DockDesktopPictureMenu is sample code from Apple that
> > uses a function to change the desktop background and I'm using that
> > function in my app, so I don't have to change the com.apple.desktop
> > pref file directly.
>
>
Attachment:
DesktopPicture.m
Description: Binary data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden