Re: including a cocoa bundle in a carbon app
Re: including a cocoa bundle in a carbon app
- Subject: Re: including a cocoa bundle in a carbon app
- From: Uli Kusterer <email@hidden>
- Date: Mon, 11 Aug 2008 01:39:47 +0200
On 10.08.2008, at 19:38, Bob Sabiston wrote:
I got my Cocoa bundle to compile on the Intel machine. It still
doesn't load within my app, though. Is there something special I
need to do to include it in my project? I just dragged it in on the
left, amongst all the other types of files, and it gave me a menu of
targets from which I selected the correct one. But the load is
still failing. I'm using the function below, gotten from Apple's
examples. Anyone know what could be the problem? CFBundleCreate is
just setting bundlePtr to 0, I don't know why.
I've done stuff like that and it worked fine for me (heck, I've
loaded CFM bundles into Mach-O apps). What template did you use as a
basis for your bundle? You keep saying bundle, but the variable names
mention frameworks. Now, there are different ways of building stuff
like that. E.g. frameworks contain a path they expect to be loaded at
(installation path setting), while bundles as they're used for plugins
generally don't.
Did you perhaps mix those up? Alternately, are you perhaps mixing
debug and release builds? Anything not 100% homogeneous in there?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden