我初学逆向工程,根据(http://blog.csdn.net/u013583789/article/details/50396747)教程已经把环境都设置好了,也写了一个HelloWorld. 结果编译时报error: use of undeclared identifier ‘HBLogError’,如果我将.xm里的代码都注释掉,真机就可以运行的起来,请问有人遇到过这个情况吗?我在网络上没有找到相关资料与解答 我的系统是OSX 10.11,Xcode是7.2
重新安装下theos
谢谢提示,已解决。
同问啊,楼主怎么解决的
我在新电脑上装,一直报这个错,后来把旧电脑里的theos拷贝过去才没报错。
想知道问题出在哪里
theos的版本不一样
根据这个教程 http://blog.csdn.net/u013583789/article/details/50396747
我解决的方法如下
由于原theos最新的版本不兼容iosopendev,所以用15年的老版本,地址如下
git clone -b stableversion https://github.com/haorenqq/theos/ $THEOS
也解决了我的问题
谢谢,已解决
还可以pch里define HBLog