johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.55k stars 566 forks source link

Seems not work on real device, Xcode8.2.1 #216

Closed FrizzleFur closed 7 years ago

FrizzleFur commented 7 years ago

Hi, I want to test the injection on my iphone, I follow the patching_injection, write the code in the main.m file, the console shows the connecting is failed.

Injection attempting connection to: 10.12.1.67:31442 Injection: Could not connect: Connection refused

My project is code in Objective-C, any suggestions?

zenangst commented 7 years ago

As of iOS 10, injection will no longer work when running the application on a device. https://github.com/johnno1962/injectionforxcode#stop-stop-press

FrizzleFur commented 7 years ago

@zenangst Well thanks~