なかなか良い設定が見つからない。現状のgitignoreは以下のようになっている。
# Xcode build/* *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 *.xcworkspace !default.xcworkspace xcuserdata profile *.moved-aside DerivedData # osx noise .DS_Store
途中で変更した場合は以下のコマンドでgit管理から外す。
git rm --cached filename