Duplicate code removal, adding missing break, and changed indent settings.

The code for getting archName was duplicated in two different methods so I moved it to a separate shared method.
Added break for CPU_SUBTYPE_ARM_V8 to avoid falling through to the default case.
Set the default indent and tab settings in the Xcode project to match the code style.