I’ve recently migrating to SDK41 for a managed workflow app.
I’m trying to run my first EAS Build and bumped into this error within :Install pods" section:
Versions in the Podfile.lock cached by EAS do not match required values for some of the libraries, it can be triggered when upgrading Expo SDK or any other library with native code. To fix that update value of "cache.key" field in the eas.json to invalidate the cache.
Thanks for the reply, I’ve actually starting using the syntax you have suggested in other projects.
Some times that solves the issues if it is related to cache problems, other times as the error message suggest can be related to conflict of dependencies.
I’ve recently migrating to SDK41 for a managed workflow app.
I checked last failed build on your account that finished with the error you posted and they are all bare projects. In bare project Podfile.lock is cached only if it does not exists in the repo, otherwise lockfile from repo is used
btw if you need to just one time clear cache e.g. after switching sdk I recommend running eas build --clear-cache.
if you have android and ios directory then project is bare, it can happen if you run expo eject or expo prebuild or expo run:ios(or android). You can see in your build logs that there is no prebuild phase there.
If you want to have manged project and use expo prebuild or run:ios, run:android you need to add android and ios directories to gitignore(and remove them from git if it’s already comitted)