When Xcode is connected to the mobile phone for debugging, the app that contains the logic of executing machine code runs normally, but if Xcode is disconnected and the app is run alone, it will crash.
First use the xcode-run execution function to start the app
The machine code logic executes normally
Disconnect the phone from xcode
Start the app
5.Crash
Here is the test code:https://gitee.com/FanChiang_admin/demo.git