app clip error running in real device

when i try to run my app clip app on my iphone 13 i got error in xcode

Build input file cannot be found: '/Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app/BumppClip' (in target 'BumppClip' from project 'Bumpp') 

and here the description for the error

CopySwiftLibs /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app (in target 'BumppClip' from project 'Bumpp')
  cd /Users/belalmedhat/Pictures/bumpp_ios
  export CODESIGN_ALLOCATE\=/Applications/Xcode\ Rosetta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
  export DEVELOPER_DIR\=/Applications/Xcode\ Rosetta.app/Contents/Developer
  export SDKROOT\=/Applications/Xcode\ Rosetta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk
  builtin-swiftStdLibTool --copy --verbose --sign 7D88AEB489E420CC69D3FD9380295A1A0D0A4AEC --scan-executable /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app/BumppClip --scan-folder /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app/Frameworks --scan-folder /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app/PlugIns --platform iphoneos --toolchain /Applications/Xcode\ Rosetta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Products/Debug-iphoneos/BumppClip.app/Frameworks --strip-bitcode --strip-bitcode-tool /Applications/Xcode\ Rosetta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/belalmedhat/Library/Developer/Xcode/DerivedData/Bumpp-dmurunttihpceobkodhxeakpumqu/Build/Intermediates.noindex/Bumpp.build/Debug-iphoneos/BumppClip.build/SwiftStdLibToolInputDependencies.dep --filter-for-swift-os

but it runs on simulator without problem

Out of curiosity, what is "/Applications/Xcode Rosetta.app"? If you renamed it and enabled the "run in Rosetta" checkbox, does the error happen if you unchecked it?

i have two version of xcode one is for projects that run before m1 which is xcode rosetta and xcode is for project created with apple m1 mac so i aslo tried to run it on xcode normally but still get the same error

app clip error running in real device
 
 
Q