johnno1962 / InjectionIII

Re-write of Injection for Xcode in (mostly) Swift
MIT License
4.08k stars 319 forks source link

Adding or [re]moving methods of non-final class is not supported. Your application will likely crash. Paradoxically, you can avoid this by making the class you are trying to inject (and add methods to) "final" #514

Closed lovexiaohuangdou closed 2 months ago

lovexiaohuangdou commented 3 months ago

Loaded .dylib - Ignore any duplicate class warning ⬆️ 💉 ⚠️ Adding or [re]moving methods of non-final class TOPMonmentDraftTools[224],TOPMonmentDraftTools[232] is not supported. Your application will likely crash. Paradoxically, you can avoid this by making the class you are trying to inject (and add methods to) "final". ⚠️ 💉 ⚠️ Adding or [re]moving methods of non-final class TOPMonmentDraftTools[224],TOPMonmentDraftTools[232] is not supported. Your application will likely crash. Paradoxically, you can avoid this by making the class you are trying to inject (and add methods to) "final". ⚠️ 💉 Interposed 9 function references. 💉 Injected type #1 'TopTop.TOPMonmentDraftTools'