This is an old revision of the document!
Universal Binaries
building for i386 and ppc
- 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
undefined symbols
- 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)
Find out which architecture(s) a binary was compiled for
- 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)