Closed yas375 closed 8 years ago
Not seen that before. Do you have a -injected method in the classes being injected? If so, try removing it.
I don't have implemented injected
methods.
Not sure what this IDEBundleInjection business is. It seems to be getting confused with your tests. More than this I can’t really say.
Interesting, I’ve just got this error myself :(
It looks like removing derived data helps. But it's probably just a workaround, not a solution.
rm -rf ~/Library/Developer/Xcode/DerivedData
You’re using 7.3?
Yes.
Xcode 7.3 (7D175) OS X 10.11.4 (15E65)
Well, you can get it to work by deleteing your tests!
I always knew I don't need any tests!
On Fri, Apr 1, 2016 at 2:54 PM, John Holdsworth notifications@github.com wrote:
Well, you can get it to work by deleteing your tests!
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/johnno1962/injectionforxcode/issues/118#issuecomment-204583015
Victor Ilyukevich. @yas375
Can you update your plugin (unload and load in Alcatraz or downlaod and build) and try now? I’ve made a minor change that seems to resolve this. There was a framework IDEBundleInjection.framework in the app package which if you remove it when you inject makes this problem go away.
@johnno1962 great job! The issue seem to gone!
Here is what I did:
Given: plugin works.
I'll keep an eye on it, but this can be closed now. Thanks John!
First of thanks: thanks a lot for the great plugin :clap:
Sometimes when I'm injecting some code, it fails and closes the application. In console I see it complains about
Environment failed to specify XCTestConfigurationFilePath
. Not sure if it's expected that the plugin tries to specify something related to XCTest. Maybe it picks it up because I was editing some unit tests before? But I wasn't editing unit tests since I launched the app for sure.Here is the entire log from console.