Re: Calling PPC framework from Universal app
Re: Calling PPC framework from Universal app
- Subject: Re: Calling PPC framework from Universal app
- From: Jerry <email@hidden>
- Date: Thu, 8 Jun 2006 14:09:40 +0100
On 8 Jun 2006, at 13:48, Dirk Stegemann wrote:
On 08.06.2006, at 11:23, Jerry wrote:
I think that what we'll have to do is to wrap the framework in a
separate PPC binary which runs under Rosetta and use IPC to talk
to it. Before I embark on this, does anyone know of a better way?
What about loading the framework programmatically using the
CFBundle APIs and calling its symbols afterwards?
That way, you could #ifdef the loading / calling code appropriately.
Actually, we already load the framework using CFBundle because it
comes with an install location of /Library/Frameworks and we want to
have it as a local framework (this framework is the bane of my life).
You can't load the bundle on an Intel machine though because it
doesn't have an i386 architecture:
error code 4, error number 0 (no suitable image found. Did find:
/Volumes/jerry/Test/build/Debug/Test.app/Contents/Frameworks/
Stupid.framework/Stupid: mach-o, but wrong architecture)
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden