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

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

    If all else fails:

    1. In Xcode. Remove references of files in question from your project.
    2. Open your project.pbxproj file as a file in Xcode. This is in .xcodeproj
    3. Delete all lines containing the name of said files. Save.
    4. Back in Xcode. Re-add files to your project in Xcode.

提交回复
热议问题