swiftxcodexcode11xcode10xcode12

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


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

This is the error


Solution

  • Moving the folders around the inspector can cause the error "Build input file cannot be found"

    SWIFT 5

    In Swift 5, the error came up but the identity showed no errors.

    For example [APPROJECTNAME]/[THEINFOPLISTFOLDER]/info.plist In the screenshot below, the path is API-client/Resources/info.plist

    enter image description here

    SWIFT 4

    To fix it, go to the general tab and under identity reselect the info.plist that you like

    enter image description here

    enter image description here