怎么看錯誤
clang: error: linker command failed with exit code 1 (use -v to see invocation)
意思:鏈接失敗
原因:ld: 95 duplicate symbols for architecture i386
95復制符號i386架構
這個錯誤就是說明這個項目有重復使用的文件.m或者.h
繼續看那些i386的錯誤后面,是PMCalendarView
說明是重復使用了這個文件
重復文件
刪除一個就可以了
不要在xcode中delete,因為在xcode中delete只是刪除xcode中的而已,并沒有把源文件夾的也刪除,所以建議要到文件夾中去刪除
這里寫圖片描述