-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the two will be used. Which one is undefined. #255
Comments
You can ignore this message. It’s a warning. |
But it don‘t work! |
This could be for all sorts of reasons. Have you tried the “GettingStarted.zip” example? Can you post the code you’re trying to inject? |
How do you mean? |
Sorry, I didn't respond in time. I tried to change the background color simply in a view demo, but when I want to use it in a real project, the view is more complicated and it can't work. // Code inside AppDelegate didFinishLaunchingWithOptions method
#if DEBUG
NSBundle *bundle = [[NSBundle alloc] initWithPath:@"/Applications/InjectionIII.app/Contents/Resources/iOSInjection.bundle"];
[bundle load];
#endif
// Code inside MyViewController
- (void)injected {
NSLog(@"injected Some thing....");
[self viewDidLoad];
}
|
Have you solved the problem? |
Hello I have the same problem. -(void)injected{ 💉 *** Compiling /Users/ZLJFaceCollectCell.m *** |
I got same error |
Hi,I have some problem When I use Injection III(AppStore Version),I have loaded it in Appdelate and implemented the injected method.
Injection connected, watching /Users/rouslee/Desktop/zuolin/zuolin_ResourceReservation_3.5/client_base_ios/**
*** Compiling /Users/rouslee/Desktop/zuolin/zuolin_ResourceReservation_3.5/client_base_ios/EHProject/ResourceReservation/ViewCtl/ReservationMainViewCtl/EHResourceReservationMainViewCtl.m ***
Loading .dylib - Ignore any duplicate class warning...
objc[36655]: Class EHResourceReservationMainViewCtl is implemented in both /Users/rouslee/Library/Developer/CoreSimulator/Devices/5C07D31F-85DA-4889-8103-3E986942A5FC/data/Containers/Bundle/Application/D544CEB1-AD46-4B86-B19F-18B2D1443D5F/Techpark.app/Techpark (0x10ae39fd0) and /Users/rouslee/Library/Containers/com.johnholdsworth.InjectionIII/Data/eval101.dylib (0x13101d0a0). One of the two will be used. Which one is undefined.
The following questions , How can I fix it?
The text was updated successfully, but these errors were encountered: