1.loaded the "XXX" nib but the view outlet was not set
- 右擊view,把Referencing Outlet和File's Owner做一下關聯(lián),如圖:

2.使用Github Desktop同步本地代碼時出現(xiàn)"Failed to add file XXX/ to index."的錯誤
- 原因是準備同步的文件中已經(jīng)存在.git的目錄了,刪除掉即可。
-
還有自己新建project時,不要勾選"Create Git Repository ",否則也會出現(xiàn)無法同步的問題。
3.發(fā)現(xiàn)項目中的某.m文件無法使用
-
進入Bulid Phases -> Compile Sources,添加該文件
4.發(fā)現(xiàn)項目中的某個資源無法使用(比如plist文件、音頻等)
-
進入Bulid Phases -> Copy Bundle Resources


