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
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