I'm getting “clang: error: no input files”

后端 未结 10 1296
失恋的感觉
失恋的感觉 2020-12-15 15:51

I had a file which I deleted and replaced with another file, somewhere else, of the same name.

Despite cleaning, and trying this multiple times, I keep getting this

10条回答
  •  轮回少年
    2020-12-15 16:02

    Comment Quoted from another site was the issue is resolved for me

    hmm that's strange. Try this - click on the name of your project on the list of files/folders on the left in Xcode (at the very top of the list). Look at the "Targets" section on the left-hand side of the window to the right. Likely, there's two listed with the second being a "test" item. Right-click on that item and select "delete". Then try to run the project again. See screenshot below for a visual cue.

提交回复
热议问题