Adding further instructions about building for OS X, as recent versions of xcodebuild will automatically build for i386 (can someone say, "monoculture") even on x86_64 machines! Specifically including instructions about including the "ARCHS" flag to specify the right architecture.