In xcode => Build Phases => Compile Sources, check if the ExpoModulesProvider.swift file has been added.
In my case, I use a bare React native installation