Problems after upgrading to Xcode 10: Build input file cannot be found

前端 未结 28 2187

I upgraded my Xcode SDK to version 10 last night and then find I cannot build.

I\'m getting this error:

Build input file cannot be found: \

28条回答
  •  清歌不尽
    2020-11-28 04:47

    Not that I did anything wrong, but I ran into this issue for a completely different reason and kinda know what caused this.

    I previously used finder and dragged a file into my project's directory/folder. I didn't drag into Xcode. To make Xcode include that file into the project, I had to drag it into Xcode myself later again.

    But when I switched to a new branch which didn't have that file (nor it needed to), Xcode was giving me this error:

    Build input file cannot be found: '/Users/honey/Documents/xp/xpios/powerup/Models Extensions/CGSize+Extension.swift'


    I did clean build folder and delete my derived data, but it didn't work until I restarted my Xcode.

提交回复
热议问题