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

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

    If you are applying to the way Project Cleanup and your project still error.

    You can go to tab Build Phases and then Find Check Pods Manifest.lock and remove the script.

    Then type command to remove folder Pods like that rm -rf Pods

    and then you need to remove Podfile.lock by command rm Podfile.lock

    Probably, base on a situation you can remove file your_project_name.xcworkspace

    Finally, you need the command to install Pod pod install --repo-update.

    Hopefully, this solution comes up with you. Happy coding :)

提交回复
热议问题