As JeCh0 said, the problem should fix installing expo-build-properties, then, add in the app.json/app.config.js file: [ "expo-build-properties", { ios: { useFrameworks: "static", modular_headers: true, }, }, ],
. Once this is done, you can run the prebuild with npx expo prebuild --clean
and then npx expo run:ios
. This will ensure that when the Podfile is created, the dependencies and imports of Firebase are handled correctly without the need to edit the Podfile directly.