Build Input File Cannot Be Found' Swift 4.2, Xcode 10.0

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

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

Sample Image

SWIFT 4

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

Sample Image

Sample Image

I hope this helps

Problems after upgrading to Xcode 10: Build input file cannot be found

Try to switch back to the Legacy Build System (File > Project Settings > Workspace Settings > Legacy Build System)

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

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

Sample Image

SWIFT 4

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

Sample Image

Sample Image

I hope this helps

Problems after upgrading to Xcode 10: Build input file cannot be found

Try to switch back to the Legacy Build System (File > Project Settings > Workspace Settings > Legacy Build System)



Related Topics



Leave a reply



Submit