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

前端 未结 26 2185
忘掉有多难
忘掉有多难 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:35

    I got this error when i renamed a ViewController name using "Refactor". The view controller name occurrences were changed but an old reference was somewhere still existing.

    Deleting derived data & Clean build folder worked for me.

    Here's how to delete Derived data:

    File>Workspace settings> Click arrow & remove all folders inside Derived Data.

提交回复
热议问题