iOS14.5 Xcode12.4 crash when running On breakPoint

When I use an iOS 14.5 mobile phone to run the program, it will crash on the breakpoint. If I change to an iOS 14.2 mobile phone, the breakpoint debugging can be performed normally.


crash log:
Details

Lost connection to the debugger on “iPhone”.
Domain: IDEDebugSessionErrorDomain
Code: 4
Recovery Suggestion: Restore the connection to “iPhone” and run “***” again, or if “***” is still running, you can attach to it by selecting Debug > Attach to Process > ***.
  • -


System Information

macOS Version 10.15.7 (Build 19H2)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-05-06T16:04:01+08:00
Answered by ForumsContributor in
Accepted Answer
Running/debugging apps on iOS 14.5+ devices is not supported with Xcode 12.4.
https://developer.apple.com/forums/thread/679482?answerId=673429022#673429022

You should better prepare an upgraded Mac and try with Xcode 12.5.

I have this same error but I'm using Xcode 12.5 with the iOS 14.5 simulator... please help!

iOS14.5 Xcode12.4 crash when running On breakPoint
 
 
Q