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

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

    In my case the file wasn't at the right path, Xcode was expecting to find the input file at a path like /Users/Malloc/Projects/MyProject/Info.plist while in reality the file was located at a different path like /Users/Malloc/Projects/MyProject/Subfolder/Info.plist.

    A quick fix to this is to simply right click on the file then select Show in Finder, then drag the file to the correct path Xcode is expecting.

提交回复
热议问题