Xcode 13 unable to archive due to a "Build input file cannot be found:"

Hi all, my project is running fine on simulator and real device, but when I try to archive it for distribution the following error code appears.

Build input file cannot be found: '/Users/mauro/Library/Developer/Xcode/DerivedData/FlexoCalculator_mobile-acfisshphqrnvoennhvdkcvtplhc/Build/Intermediates.noindex/ArchiveIntermediates/FlexoCalculator_mobile/InstallationBuildProductsLocation/Applications/FlexoCalculator_mobile.app/FlexoCalculator_mobile'

I already cleaned build folder and derived data but issue is still there. I have no idea on where this error comes from and how to clean it.

Any help is appreciated.

Xcode 13.2.1 - Swift 4 - Project for iOS 10

This project was well compiled and distributed for years. Now, after upgrade to Monterey/Xcode 13, I'm not able to compile it anymore.

This error is not visible on logs, but is present on left panel only:

Answered by ML69 in 699726022

Hi there, solved by installing a backup project's version. Still have no idea about this kind of error.

Best regards.

Accepted Answer

Hi there, solved by installing a backup project's version. Still have no idea about this kind of error.

Best regards.

Xcode 13 unable to archive due to a "Build input file cannot be found:"
 
 
Q