johnno1962 / injectionforxcode

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

i need your help!!! #94

Closed lidongxuwork closed 8 years ago

lidongxuwork commented 8 years ago

2016-03-14 22:53:57.387 哈哈哈[8097:472586] +[BundleInjection load] 172.16.3.184 (see project's main.(m|mm) 2016-03-14 22:53:57.390 哈哈哈[8097:472699] Injection attempting connection to: 127.0.0.1:31442 2016-03-14 22:53:57.391 哈哈哈[8097:472699] Connected to "Injection" plugin, ready to load x86_64 code. objc[8097]: Class ViewController is implemented in both /Users/lidongxu/Library/Developer/CoreSimulator/Devices/BCDBDD48-277A-4176-A7AF-897407D65AE6/data/Containers/Bundle/Application/53D0710E-5E75-4E0C-8CA6-019AB9DB6C9F/哈哈哈.app/哈哈哈 and /Users/lidongxu/Desktop/哈哈哈/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle2.bundle/InjectionBundle. One of the two will be used. Which one is undefined. 14 injections performed so far. 2016-03-14 22:54:05.046 哈哈哈[8097:472586] Ignore any warning, Swizzled ViewController 0x10bdd4348 -> 0x1019c8ad8

johnno1962 commented 8 years ago

You can ignore this warning. Are things injecting OK?

dimohamdy commented 8 years ago

i have same error ,inject not work

johnno1962 commented 8 years ago

how is it not working?

johnno1962 commented 8 years ago

Is this the same as https://github.com/johnno1962/injectionforxcode/issues/93 ?

dimohamdy commented 8 years ago

@johnno1962 it's work my code in viewdidload not work,when i change method it's work

lidongxuwork commented 8 years ago

@dimohamdy Excuse can you copy your method?

lidongxuwork commented 8 years ago

@johnno1962 ok yes #93 is helped me, thank you very much

johnno1962 commented 8 years ago

Cool :+1: