johnno1962 / injectionforxcode

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

_inIPAddresses[] = {"10.12.1.67", "127.0.0.1", 0}; #97

Closed azxfire closed 8 years ago

azxfire commented 8 years ago

what does all those ip means?I am using my phone developing

johnno1962 commented 8 years ago

This is the internet address used to connect back to Xcode from your phone. It should be the address of your Mac.

azxfire commented 8 years ago

I have changed the ip.And run project then control+= but Injecton Console error * Could not codesign as 'iPhone Developer': /Users/taowang/Desktop/iBaby/iBaby/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle3.bundle *

johnno1962 commented 8 years ago

Start in the simulator and then work your way up to injecting to a device. This issue may help you: https://github.com/johnno1962/injectionforxcode/issues/41

azxfire commented 8 years ago

unfortunately,error again 
* Could not codesign as '': /Users/taowang/Desktop/iBaby/iBaby/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle2.bundle 

 at /Users/taowang/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Could not codesign as : /Users/taowang/Desktop/iBaby/iBab...') called at /Users/taowang/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 508
** Bundle build failed ***

azxfire commented 8 years ago

I also tried #41 didn't work either

johnno1962 commented 8 years ago

I think it’s best if you stick to the simulator until you become a bit more familliar with injection.

orta commented 8 years ago

Agreed, @azxfire - you're welcome to open another ticket in the future, but I'm closing this for now.