Make Xcode 3.2.6 Create Universal Binary Mac Applications

Before Xcode 3.2.6, the default build configuration for an application was a universal binary that ran on both PPC and Intel Macs. Xcode 3.2.6, however, has a default of Intel only, and there is no universal binary option in the drop-down in the Build tab of the Project Settings.

When I did a new release of MailSteward recently, using Xcode 3.2.6 for the first time, the result, unbeknownst to me, was a 32 bit Intel only build, not a universal binary build. I didn’t expect Xcode to secretly change my project settings, so I didn’t notice what had happened.

Here is how to fix it. Select Other… from the Architectures drop-down in the Build tab of your Project Settings. You can then add your own architecture, as in this screen shot:

null

Your Architectures Setting will now look like this:

null

Then clean all targets and do a new build and the result will be a universal binary application.

2 Responses to “Make Xcode 3.2.6 Create Universal Binary Mac Applications”

  1. Lou Forlini says:

    Thanks for this post, I just got bit by this myself for a customer using PPC. Strange thing is that 2 of my other projects retained their “ppc i386” settings, but I think the one with the problem was set to “Standard” previously.

  2. […] on PowerPC machines. It was not my intention to drop support for PPC, rather it was the result of a silent Xcode defaults switch that caused the […]

Leave a Reply