Xcode 13 Fails To Run On iOS Devices

The project can run on simulator well but it can't run on the iOS devices. I got the error: "error: Build input file cannot be found: '/Users/tantan/Library/Developer/Xcode/DerivedData/Videe-bpukzfmjaxewiuaiolulcqllukjg/Build/Products/Debug-iphoneos/[AppName].app/AppName' (in target 'AppName' from project 'Videe')"

Are there any solutions for that? Thanks.

Clean build data and delete Derived Data?

Xcode 13 Fails To Run On iOS Devices
 
 
Q