Error in Xcode 13.1 when running the app in device

Hi. I am working on Xcode 13.1

When I am building my code and running it on my iPhone (Not on the simulator), the code is crashing. Below is the error message. Please help me out anyone.....

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'

*** First throw call stack:

(0x1827e9cac 0x199858758 0x183f3c0e0 0x183f12d64 0x103288590 0x1032884b4 0x103288d30 0x102d87544 0x102d86000 0x184c59804 0x184c5c178 0x184d57360 0x184d53a04 0x184f6c928 0x184e4be78 0x184d7a73c 0x1dc3649d4 0x184c3ab28 0x1862a4c4c 0x186297d40 0x1862ab4a4 0x1862b408c 0x184c14b50 0x182795f34 0x182767578 0x182762b0c 0x182775d8c 0x19c8829a0 0x184faafa8 0x184d3f22c 0x102d5bbb0 0x104288190)

libc++abi: terminating with uncaught exception of type NSException

dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'

terminating with uncaught exception of type NSException

If you launch the app from the Home screen, rather than Xcode, this crash should create a crash report. Please post that here.

For advice on how to do that, see Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error in Xcode 13.1 when running the app in device
 
 
Q