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

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

    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.

提交回复
热议问题