One Quickie

Runing a unit test in ppc mode (Xcode->General)
Say your xcode project happily runs unit tests in i386 mode. You're about to land something that does byte-swapping, and you want to make sure it's sane in PPC mode, and you haven't turned on your G5 in months. You can do this command-line styles on your ICBM (assuming your project doesn't already do ppc and i386 unit tests). Build your test, and use translate to run the powerPC side of the world:
% xcodebuild -configuration Release -target "Test All" -project Tests.xcodeproj NATIVE_ARCH="i386 ppc"

% /usr/libexec/oah/translate /Developer/Tools/otest build/Release/Tests.octest

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book