1、退出xcdoe, 打開終端(Terminal),進入到你的項目目錄下;
2、在終端輸入如下代碼;
git rm --cached *.xcuserstate
git commit -m "Removed cached files"
3、git push;
4、下次Xcode commit就不會包括user interface state.
1、退出xcdoe, 打開終端(Terminal),進入到你的項目目錄下;
2、在終端輸入如下代碼;
git rm --cached *.xcuserstate
git commit -m "Removed cached files"
3、git push;
4、下次Xcode commit就不會包括user interface state.