React Native Production Build Error ('Build input file cannot be found: {path}ExpoModulesProvider.swift')

Viewed 288

So I finished a React Native project and trying to get it into production mode. However, XCode is throwing me this error saying that it cannot find ExpoModulesProvider.swift

Here is the full error,

I have been trying to solve this error the past 2-3 hours. I searched everywhere however, I could't find anything related to this error. Even StackOverFlow doesn't have it.

Thank you

XCode Error

1 Answers

I had the same issue and in my case I solved it by removing the ExpoModulesProvider.swift source from Compile Sources

enter image description here

Related