I am getting the following error when using eas update
You’re currently using the bare workflow, where runtime version policies are not supported. You must set your runtime version manually. For example, define your runtime version as “1.0.0”, not {“policy”: “appVersion”} in your app config.
I’m not sure how I got to a bare workflow but I would like to switch to a managed workflow if possible. What would be the steps to do this? We’re already approved in the ios App Store if that makes a difference.
hi there! you can delete the ios / android directory in your project. those can be generated automatically when you run npx expo run:[android|ios] or npx expo prebuild. this is called continuous native generation: Continuous Native Generation (CNG) - Expo Documentation
that check will look for an ios or android directory. if you delete those then it’ll appear “managed” again. we need to update the terminology here a bit
When you have ios and android directories in your app, npx expo-env-info etc. will say it’s Bare.
If you run npx expo run:android or npx expo run:ios, it automatically runs npx expo prebuild, which generates the ios and android directories, resulting in a “Bare” app.
So, as Brent said, delete those directories to switch back to the Managed workflow.
Ah ok, I understand. now. The only reason I was running pre-build was because my version and build numbers weren’t updating and another issue suggested I run npx expo prebuild to update the versioin and build number. That must have flipped it to bare. Thank you both. I will research a better solution to the version number issue.