injectionforxcode
injectionforxcode copied to clipboard
crash when adding injected function
I'm getting a crash during injection, but only when injected
exists in the class. I'm working in Swift.
In IvarAccess.h
, getting EXC_BAD_ACCESS
here
I commented out the else if
block, and injection works fine
-injected is the least reliable part of injection alas, particularly for Swift. You can tap into when injections occur with “INJECTION_BUNDLE_NOTIFICATION” as an alternative.
This may be fixed now. Can you try again?