On Aug 10, 2008, at 12:48 PM, Kyle Sluder wrote:

On Sun, Aug 10, 2008 at 1:38 PM, Bob Sabiston <[EMAIL PROTECTED]> wrote:
This bundle works when compiled in Xcode 2.4.1 on a G5 and then included in
a Codewarrior project.  But I haven't gotten it to work with the same
project on Intel in Xcode yet. It is probably something simple that I'm
missing.

1) Is there a reason you're not using NSBundle, or maybe just
returning the CFBundleRef from your function?  Your use of an
out-pointer-to-CFBundleRef instead of a return value seems
unnecessary.

2) Are you sure the bundle itself is compiled for all four
architectures (x86, x86_64, ppc, and ppc64)?

--Kyle Sluder

1) No reason, except that I don't know what I'm doing, and that function came from Apple's example of how to include Cocoa in Carbon.

2) the bundle right now is compiling for i386, the native architecture of this machine. does it need to be compiled for all 4? it should at least run on this machine if everything, app and bundle, is being compiled for this architecture, right?

Bob

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to