Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build input file cannot be found Xcode 14 iOS 15.5

Tags:

xcode

ios

swift

I'm trying to build an Xcode project on a real device and getting the error below. The build works on the Simulator but not on the device.

error build: Build input file cannot be found: '/Users/XXXX/Library/Developer/Xcode/DerivedData/Tripper-fofjrpvuxfttvyhkkbmgtzkzglpn/Build/Products/Debug-iphoneos/Tripper.app/Tripper'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Tried every solution I could find on StackOverflow and elsewhere but nothing works.

like image 475
Gilad Schickler Avatar asked Sep 12 '25 19:09

Gilad Schickler


1 Answers

under project.pbxproj there was EXCLUDED_ARCHS = arm64 ; which I removed, then started working

like image 140
yet.another.coder Avatar answered Sep 14 '25 10:09

yet.another.coder