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

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

    I got this issue after resolving the conflicts in project.pbxproj.

    Step 1: Removing the "Build input files cannot be found" files from BuildPhases -> Copy Bundle resources and adding them back worked for me.

    If the above Step 1 doesn't work, search for "Recovered References" folder in your project structure and remove the files that are causing this issue and repeat Step 1.

提交回复
热议问题