Error: “The sandbox is not in sync with the Podfile.lock…” after installing RestKit with cocoapods

后端 未结 30 2462
小蘑菇
小蘑菇 2020-11-27 10:12

I\'ve encounter an strange issue after installing RestKit with cocoapods. after resolving RestKit dependency for my project with cocoapods and trying to build it, I face thi

30条回答
  •  日久生厌
    2020-11-27 10:15

    When you do

    pod install --verbose
    

    make sure:

    1- you are in the correct directory. Most times, when a github project is downloaded, there will be a master folder. You need to be inside the actual project name folder(masterfolder/project folder) in the terminal before you invoke pod install --verbose

    2- Delete the old pod lock folder then clean the project using xcode clean & do pod install.

    3- Keep your rvm updated.

提交回复
热议问题