Xcode 2.2.1 -> 2.3: Intel no longer builds correctly
Xcode 2.2.1 -> 2.3: Intel no longer builds correctly
- Subject: Xcode 2.2.1 -> 2.3: Intel no longer builds correctly
- From: Steve Christensen <email@hidden>
- Date: Thu, 1 Jun 2006 23:15:03 -0700
I just upgraded to Xcode 2.3 from Xcode 2.2.1. I have a set of plug-
in projects that I'd imported from CodeWarrior to Xcode 2.2. Before
upgrading, the plug-ins built and ran correctly on both PPC and Intel
machines. After upgrading to Xcode 2.3, the plug-ins no longer load
on Intel, even though the plug-ins show up as Universal in the
Finder's Get Info window.
I looked at the build folder for one of the plug-ins. The (apparently
unstripped) PPC binary is 500K and the Intel binary is 52K; the
stripped Universal binary is 92K.
If I run "nm -a -arch ppc ..." and "nm -a -arch i386 ...", the PPC
version displays the global and unresolved symbols and the i386
version only displays "nm: no name list".
If I run "lipo -detailed_info ..." on the Universal binary, it
reports the following:
fat_magic 0xcafebabe
nfat_arch 2
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 4096
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 8192
size 83984
align 2^13 (8192)
Any idea what's changed in 2.3 that could be affecting this?
steve
_______________________________________________
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