Re: Xcode won't compile a Universal Binary
Re: Xcode won't compile a Universal Binary
- Subject: Re: Xcode won't compile a Universal Binary
- From: John Pannell <email@hidden>
- Date: Mon, 13 Mar 2006 14:48:29 -0700
Hi Ben-
This is a shot in the dark, but make sure that your target is a
"Native Target"... In the Groups and Files pane, scroll down to your
target and select it. Then, go to the Projects menu. If the
"Upgrade To Native Target" option is not greyed out, then select it
to upgrade the target.
XCode cannot build i86 binaries unless the target is native. I
suspect this isn't the problem (since your development build seems to
work) but it sure had me stuck for a while!
John
On Mar 13, 2006, at 2:11 PM, Ben Borofka wrote:
I've got an Xcode project I'm trying to compile a Universal Binary of
and it won't do it. It only compiles a PowerPC app. Xcode doesn't give
me any errors at all. I've customized my build settings as followed:
ARCHS = ppc i386
...
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
The rest of the settings are left at their defaults.
The strange thing is, if I compile in Development mode, it DOES build
a Universal app. In Deployment mode, it only builds for PowerPC. Once
again, without any errors or warnings.
Forgive me if I'm missing something obvious, but I've looked around
and I haven't found anyone with a similar problem.
Thanks.
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40positivespinmedia.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden