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

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

    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.

    • Go under build settings and select packaging.
    • Delete the current paths for Debug and Release and enter your new path where the info.plist is kept.

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

    SWIFT 4

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

    I hope this helps

提交回复
热议问题