From: Garth Cummings <email@hidden>
Reply-To: <email@hidden>
Date: Fri, 10 Feb 2006 10:27:05 -0800
To: Steve West <email@hidden>
Cc: <email@hidden>
Subject: Re: IOUSBUserClient versioning across PPC / Intel
Hi Steve,
On Feb 10, 2006, at 3:35 AM, Steve West wrote:
I have no difficulty building the universal binary; in my case
the ppc
version is built against 10.2.8 and the intel against 10.4u. The
problem is
that the ppc and intel dependencies are different, but they share
a single
info.plist file. Is there a such a thing as a "fat" plist? Am I
missing
something obvious?
No, you're missing something not-so-obvious. :-) But it's a very good
question. A full explanation would require a blow-by-blow account of
how the KEXT loader works.
Just use your 10.2.8 dependencies in your plist and everything should
be fine.
In the rare case where one truly does need a separate set of
dependencies for each architecture, one would have to build two
KEXTs. There isn't a "universal plist" with per-architecture
properties. The two KEXTs would have to have different
CFBundleIdentifiers, and one KEXT could be included in the Plugins
directory of the main KEXT. But again the need to do this should be
quite rare.
Regards,
--gc