有些情況下不喜歡使用CocoaPods,需要把它刪除 ,進行以下4步就可以了 1.刪除Podfile Podfile.lock Pods文件夾 Paste_Image.png 2.刪除xcworkspace文件 Paste_Image.png 3.打開xcodeproj Paste_Image.png 4.刪除配置信息 Paste_Image.png 5.重新編譯 ok (前提是你的工程不對cocoapods 中的庫產生依賴)