使用cocoapods
集成的 第三方庫報(bào)錯
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
查詢網(wǎng)上說的解決方案如下: (都試了仍然報(bào)錯, 后面給出我的解決方案)
$ rm -rf XXProject.xcworkspace
$ rm -rf Podfile.lock
$ pod setup
$ pod install
- 注:
XXProject
是工程項(xiàng)目名稱, 需要替換
經(jīng)過上面的處理, 并沒有解決我的問題, 我的解決方案如下:
- 由原來的
build-debug, build-release
設(shè)置成Pods-mobile.debug
和Pods-mobile.release
image.png
參考鏈接: 這里