I’ve followed the instructions on the official Expo site for adding app variants to bare repositories, and I’m seeing a build error on iOS.
Has anyone else run into issues when trying to install app variants in a bare project?
Here’s the error I’m seeing when running a build:
❌ error: Build input file cannot be found: '/Users/expo/workingdir/build/ios/Pods/Target Support Files/Pods-immersely/ExpoModulesProvider.swift'.
Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'immersely-dev' from project 'immersely')
You might want to run npx expo prebuild --clean occasionally. Sometimes npx expo prebuild is not enough. But note that this will delete your android and ios directories and regenerate them from scratch. So any changes you have made to the native projects will need to be redone.