今天在測試封裝的framework時候,使用pod導入了三方庫老客,但是后來我不想要pod了僚饭,所以我就把
podfile
、podfile.lock
胧砰、pods
產(chǎn)物都刪除了鳍鸵。結果報錯如下:
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock.
Run 'pod install' or update your CocoaPods installation.
- 解決方案:
1、打開終端尉间,運行sudo gem install cocoapods-deintegrate
安裝快速解除項目cocopods依賴的庫偿乖。
2、安裝成功后哲嘲,cd到你項目的更目錄運行pod deintegrate
解除項目cocopods依賴贪薪。
3、如果需要的話在重新執(zhí)行pod init
運行pod install,重新安裝pods庫眠副。