docs:programming:xcode:universal_binaries

This is an old revision of the document!


Universal Binaries

  • project info → build tab → architectures, click edit, and select from the available check boxes
    • you can also type in the text field for manual entry - specific processors can be listed, such as i686, ppc750 (for a G3), ppc7400 (for a G5) etc…
    • I assume that ppc will properly work on all PowerPC processors, from G3 up
  • make sure to do the same for the target info
  • project info → general tab: in the Cross-Develop Using Target SDK pop-up menu, choose Mac OS X 10.4 (Universal)
  • (manual) make sure the project info → build tab → SDK Path is: /Developer/SDKs/MacOSX10.4u.sdk (or newer, if it exists)
  • highlight the application icon, and use the Finder's “Get Info” command
  • in the terminal, navigate inside the application folder (.app) to Contents → MacOS, and run the following command:
    lipo -info appname
  • you can also use the lipo tool to modify architectures in a package (remove unnecessary architectures to reduce application size, for example)
  • docs/programming/xcode/universal_binaries.1179637433.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)