SIMBL with Method Swizzling

我是研究僧i 提交于 2019-12-04 20:12:14

You're creating a plugin, which refers to symbols in a binary (the app you're trying to extend). Therefore, you need to tell the linker where to look for those symbols (In your case, that's _OBJC_CLASS_$_AppClass, i.e. AppClass that's defined in the binary. ).

This is done by passing the option -bundle_loader executable_name to the linker. See the man page for ld.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!