"Build input file cannot be found" error occurs in Archive.
When running Archive to generate a build file, the build file generation fails with a "Build input file cannot be found: ..." error.
When debugging, the build runs fine on the actual device without any errors.
Comparing and modifying the Build Settings with other projects doesn't fix the issue.
Deleting the Swift file and attempting to Archive results in a crash due to the missing file.
Even after deleting and adding the Swift file, the same error persists when attempting to Archive.
Even after deleting and re-adding the Swift file, the issue persists even after deleting all DerivedData file space on my Mac and restarting Xcode.
Can you help me with this issue?
It worked fine before the recent macOS update, and I successfully archived and published it to the App Store a few days ago. I believe this issue occurred after updating macOS to 26.0.1.
My Xcode version is 26.0.1.