1. 在項(xiàng)目中出現(xiàn)
unable to open file in target Xcode 問(wèn)題
其中最為重要的是檢查 pod有沒(méi)有在終端 cd到項(xiàng)目根目錄越平,pod install
2.The sandbox is not sync with the Podfile.lock
關(guān)閉當(dāng)前的工作空間,刪除掉文件夾中的workspace灵迫,然后重新pod install秦叛,install完成之后,通過(guò)workspace打開(kāi)工作空間瀑粥,clean+build即可挣跋,如下所示
rm -rf MyProject.xcworkspace
pod install
在pod install之前,請(qǐng)確保已經(jīng)執(zhí)行pod setup命令狞换。