Compilation of Xcode for Intel 32-64bit only

I am trying to compile only for 32bit and 64bit. No matter what I choose in Xcode, I can either compile for 64-bit, or for 32-bit, 64-bit, and ppc. I don't want ppc at all. Does anyone know how to compile only 32 and 64 bits?

Thank!

+5
source share
2 answers

In the parameter Architecturesfor the project, simply set it explicitly on i386and x86_64instead of using the predefined parameters.

+6
source

To compile only for i386 and x86_64 (e.g. Intel) and not PPC, follow these steps:

  • Go to Project | Edit Project Settings
  • ""
  • "" (32/64- Universal), ppc. ... i386 x86_64.
  • , ( i386 x86_64).

Compile. lipo . (lipo -info test.app/Contents/MacOS/test). x86_64 i386.

, :

Project | Edit Active Target " " , , i386 x86_64 .

. x86_64 i386.

+1

All Articles