Pulled architecture detection out into a separate method to eliminate duplicate code.
Added break for CPU_SUBTYPE_ARM_V8 to avoid falling through to the default case.
Set indentWidth and tabWidth to 2 in the Xcode project.