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
Podfile. lock is used to make sure that every members of the team has the same versions of pods installed on the project. This file is generated after you run the command: pod install. It gets updated when you run pod install or pod update.
Simply run pod install (or bundle exec pod install if using bundler) to reinstall all the project's pods. This will regenerate the deleted Pods/ folder and create the correct checksum in Podfile. lock . That's it — you've now got both your changes merged, and you've fixed the merge conflict (at least, for the pods!).
As a reminder, even if your policy is not to commit the Pods folder into your shared repository, you should always commit & push your Podfile. lock file. Otherwise, it would break the whole logic explained above about pod install being able to lock the installed versions of your pods.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With