菜鸟遇到问题了,请问有没有哪位大侠知道该如何解决?
iOSopenDev的话编译的时候上面的目标选择真机,不能选择模拟器 不用iOSopenDev的话检查下Makefile中的framework都写全了吗 如果这两点都没问题的话我也不知道了
View ArticleIphone-gcc求助
运行环境 iphone4s上,因为没有苹果电脑,所以在iphone上做的。按照书中示例,在编译的时候出现/tmp/2/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing...
View ArticleSubstrate 能否hook到一个类的property get方法呢?
比如,NSData类的只读属性 @property(readonly) NSUInteger length我这样写的,但是不起效:%hook NSData-(NSUInteger) length{ NSLog(@"---hit---"); return %orig;}%end
View ArticleSubstrate 能否hook到一个类的property get方法呢?
多谢回答。我试了下,把 -(NSUInteger) length 改成 -(NSUInteger) getLengthhook不到,控制台日志显示有警告:MS:Warning: message not found [NSData getLength]
View Article如何hook readonly 的 property
例如想修改UIDevice.h 中 name 的值 要怎么做呢?@interface UIDevice : NSObject @property(nonatomic,readonly,retain) NSString *name; // e.g. "My iPhone"@property(nonatomic,readonly,retain) NSString *model; // e.g....
View Articleios上iphone-gcc版本低导致的错误
昨晚装完theos后,也没来得及测试make,就睡了,今天早上起来打开电脑,发现不对劲,,咋make不了。然后谷歌一通~也没解决~群里的基友们一直让我上mac,呜呜呜~在此感谢【mack】菜鸟程序员 的帮助,也非常感谢@snakeninny 。好了,废话不多说了,直接上图从图中可以看到iphone-gcc版本太低,所以出错~参考...
View Article实体机测试请注意慎用系统函数。(!切记装上安全模式)
按照书中的教程,写了个小测试,结果手机白苹果了,开机停留在LOGO,进不去安全模式,被迫升级了9.3(让我哭会~,又到监狱里来了~)下面贴出详细过程。Makefile文件如下ARCHS = armv7 arm64TARGET = iphone:latest:7.0include theos/makefiles/common.mkiOSREProj ect_PRIVATE_FRAMEWORK =...
View Article