Xcode 11: Build input file cannot be found

Ignasius
Jan 6, 2021

Another issue I found while developing a react-native/native app is this.

My history is currently I have a project, then I upgraded the Xcode into version 12.

When I build & run the project on the iPhone simulator, there is no issue, but when I tried to deploy / archive the app for App Store distribution, the error occurred.

There is something different, in Xcode 12, there is Excluded Architecture, but there is none in Xcode 11. Because I downgraded the Xcode, the only valid architecture in the project is only, x86_64, which will work well on the simulator, but the Generic iOS Device is using the arm64 architecture, which is missing in the valid architecture.

You can re-add it again like in this screenshot.

After re-add the arm64, the project is working again. 🍻

--

--