Reputation: 493
Run custom shell script cp check pods manifest.lock
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.
I'm using ionic 3 and I want to build my application in ios but it creates an issue mentioned above.
I tried
pod install,
pod update,
reinstall of cocoapods,
pod cache clean**,**cocoapods deintergrate**,**restart of my project,
clean and build of my project
Nothing worked and I removed libpods.a files from build phase in every build of my project in Xcode, and also I tried many solutions from various sites but till now i didn't get the solution
Upvotes: 9
Views: 17550
Reputation: 27106
Try the following:
Pods
folderPodfile.lock
pod install
.xcworkspace
(and not via .xcodeproj)If that doesn't work, make a build settings checks:
${SRCROOT}/.
, and for PODS_ROOT you can enter ${SRCROOT}/Pods
)Correct the entries if necessary
Upvotes: 15