I am getting the following error when building in Xcode 10.0 with swift 4.2:
When I checked out the code first time from the Git I faced the same issue for few pod file. Updating the pod file solved my issue.
I got this error when I moved my Info.plist into a folder.
When I took Info.plist out of the folder, I no longer got an error.
Select general tab and under identity select the info.plist you want for your development
In some cases, if you Refactor your existing ViewController files or any other files using right-click -> Refactor option within the Xcode workspace then on compiling this error will come
since the File name is not changed in original place but reference is updated, so in that you need to also manually change the old file to new name.
I also faced same issue while building my xcode project - "Build input file cannot be found:" Cause: I renamed my entire project but not the build setting. Solution: In my project's build setting--> Packaging, I updated the path of the info.plist file. Now working fine.
I had the same problem with a missing view controller file that couldn't be found after cloning a project in a new folder. I deleted the view controller but the compiler continue asking for a file in a path that doesn't exist anymore.
I solved the problem as follows:
It should work now :D
(Objective-C Project / Xcode Version 10.2.1 (10E1001))