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

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

    I was able to fix that by updating CocoaPods.

    I. Project Cleanup

    1. In the project navigator, select your project
    2. Select your target
    3. Remove all libPods*.a in Build Phases > Link Binary With Libraries

    II. Update CocoaPods

    1. Launch Terminal and go to your project directory.
    2. Update CocoaPods using the command pod install

提交回复
热议问题