1 Reply Latest reply: Sep 15, 2009 1:02 AM by lobitz
plmuon Level 1 (0 points)

Just having upgraded to 10.6.1 and xcode 3.2, I'm a bit surprised that a new "hello world" c project produces not only x86_64 :
luna:~/Documents/xcode/test-c/build/Release> file test-c
test-c: Mach-O universal binary with 3 architectures
test-c (for architecture x86_64): Mach-O 64-bit executable x86_64
test-c (for architecture i386): Mach-O executable i386
test-c (for architecture ppc7400): Mach-O executable ppc

This even while I have defined the target as 10.6 | Release | x86_64.

Macbook pro/2.8/15inch, Mac OS X (10.6.1)
  • lobitz Level 1 (35 points)
    Make sure that the following selection remains unaltered ( as '-' ) or is checked.
    Project-> Edit Project Settings-> Build-> Build Active Architecture Only

    The target should then be properly limited to 'Mach-O 64-bit executable x86_64'