//聯(lián)系人:石虎QQ: 1224614774昵稱:嗡嘛呢叭咪哄
1、從互聯(lián)網(wǎng)上或者其他途徑拿過來的工程代碼,往往會報下面的提示:
(1)打開文件的時候出現(xiàn)窗口提示You don’t have permission to save the file “project.xcworkspace” in the folder “****.xcodeproj”.
(2)進入Xcode時出現(xiàn)窗口提示Could not add write permission to the file because you do not own it. Try modifying the permissions of the file in the Finder or Terminal.
而且會讓你去選擇是否locked,選擇后提示不能unlocked,如下:
提示沒有寫權(quán)限,并讓你試圖去finder或者終端中修改它。
2、參考解決方案如下了:
選中工程文件夾點右鍵,在 “顯示簡介"——>"共享與權(quán)限"——>"-+"號。 添加本用戶(就是你登錄的那個賬號),授予讀寫權(quán)限,并點擊下方的設(shè)置符號選擇"應(yīng)用到包含的項目",操作如下圖:
3、參考資料
http://www.yxkfw.com/?p=8180
謝謝!!!