iosswiftobjective-cxcodebuild

Build input file cannot be found {PATH} did you forget to declare this file as an output


After creating and deleting the Objective-C file with the header, an error appeared. How can I fix it?

error build: Build input file cannot be found:
'/Users/iiiivaska/Desktop/To-Do List/To-Do List/View/Cells/To-Do List-Bridging-Header.h'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?


Solution

  • Seems like you have moved bridging file to other folder and Xcode compiler can not find it. Try to move this file in the top of your files tree