1. 程式人生 > >iOS--錯誤集錦--svn提交出錯 an error occurred and the operation could not be completed

iOS--錯誤集錦--svn提交出錯 an error occurred and the operation could not be completed

我們操作svn上的程式碼,有時候會匯入匯出一些相同的庫檔案,然後第二天一提交會出現這種情況:an error occurred and the operation could not be completed(發生了一個錯誤,無法完成操作)如圖:


我們可以通過清理SVN上的快取來解決這個錯誤。 首先先關閉SVN


然後我們點選一下桌面上欄的前往--》前往資料夾(也可以使用快捷鍵:shift + command + G)


然後進入 ~/Library/Caches   找到Cornerstone資料夾



然後把它刪除


最後關閉資料夾,重新開啟SVN即可提交成功。