During the process of configuring dynamic debugging, I encountered several problems, which are hereby recorded.

The resources

www.iosre.com/t/ios12-deb…

Problem a

An error occurred during the execution of the debugServer add-on process, as follows

Debugserver *: indicates the port number-aprocessCopy the code
Failed to get connection from a remote gdb process. Exiting.
Copy the code

The solution

Delete the following permissions of the debugServer and sign the debugServer again.

com.apple.security.network.server
com.apple.security.network.client
seatbelt-profiles
Copy the code

Question 2

Remotely connect to the debugServer on the iPhone. Never connected.

Process connect connect://localhost: indicates the port numberCopy the code

The solution

To specify mobile phones using ipv4 addresses:

Debugserver 127.0.0.1: port number-aprocessCopy the code

Computer:

Process connect connect://127.0.0.1: port numberCopy the code