Build Input File Cannot Be Found .app

This one is about the .app not found. I am not sure why. And i have not seen a post about a .app not being found.

Build input file cannot be found: '.../DerivedData/...../Build/Products/Debug-iphonesimulator/......app/.....'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Thoughts what could be wrong?

Replies

Baaah. Closing this. It seems I was reading an outdated documentation regarding a library and it is what messed up my project. I used the SPM's lib instead of Cocopods and it's all ok now.