Update 22 to use foreach
Update .gitignore to really ignore .dSYM