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

后端 未结 30 2382
小蘑菇
小蘑菇 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:28

    If you are seeing an error like the following:

    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.

    Then there's a problem with Cocoapods in your project. Sometimes cocoapods can get out of sync and you need to re-initiate cocoapods. You should be able to resolve this error by:

    1. Deleting the Podfile.lock file in your project folder
    2. Deleting the Pods folder in your project folder
    3. Execute 'pod install' in your project folder
    4. Do a "Clean" in Xcode
    5. Rebuild your project

提交回复
热议问题