Return appropriate exit code from installCodeSnippetsAndTemplates
Merge pull request #193 from cbguder/fix-install-script

Return appropriate exit code from installCodeSnippetsAndTemplates
Ensure clean xcodebuild

Looks like recent Xcode versions store build meta-data elsewhere from
the build directory and require the `clean` action to be run