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

前端 未结 26 2198
忘掉有多难
忘掉有多难 2021-01-30 10:16

I am getting the following error when building in Xcode 10.0 with swift 4.2:

26条回答
  •  猫巷女王i
    2021-01-30 10:45

    Build input file cannot be found

    How To fix This issue :

    1. Go in the project-navigator, select your project

    2. Select Build Phases tab

    3. In Compile Sources section, check for the file(s) that Xcode is demanding of

    4. Notice that the file(s) have the wrong path, and delete them by clicking on the minus icon

    5. Re-add the file(s) by clicking the plus icon and search in the project.

    6. Product > Clean Build Folder

    7. Build

提交回复
热议问题