作者回复: 之前没有遇到过类似的问题,直观的想就是调整下文件夹权限或者用户等级应该就可以解决。针对Xcode和cocoaPods的google下了感觉以下两个回答比较靠谱,https://stackoverflow.com/questions/28444966/xcode-error-with-cocoapod-the-document-could-not-be-saved-the-file-doesn-t-ex/38885499#38885499
https://stackoverflow.com/questions/8051228/xcode-the-document-could-not-be-saved-you-don-t-have-permission 可以试试。