'Build input file cannot be found' Swift 4.2, Xcode 10.0

前端 未结 26 2147
忘掉有多难
忘掉有多难 2021-01-30 10:16

I am getting the following error when building in Xcode 10.0 with swift 4.2:

26条回答
  •  醉话见心
    2021-01-30 10:28

    In my case I got this error when I renamed a ViewController name using Refactor. The view controller name occurrences were changed but the real file not.

    I tried to do what @ajji said but it didn't work. So I changed the name of the real file. After that all worked like a charm

提交回复
热议问题