书上第78页的demo,iOSTargetApp我已经安装到iOS手机上,但是桌面为什么没有图标,在cydia中是能看到的,求大神指导下原因?3Q
另外问一下,现在都是ARC的编译环境,这种MRC的代码还要吗?我是直接对着书来的
书上第78页的demo,iOSTargetApp我已经安装到iOS手机上,但是桌面为什么没有图标,在cydia中是能看到的,求大神指导下原因?3Q
从你的makefile上看,并没有启用ARC;
启用ARC之后,如果手动release
或者autorelease
,编译时是会报错的
那怎么启用ARC呢?
theos默认是不启用arc的。
如果要启用,看这个 http://iphonedevwiki.net/index.php/Using_ARC_in_tweaks
How do I use ARC in tweaks?
Using theos (limited)
In your Makefile:
TweakName_CFLAGS = -fobjc-arc
Please note that this applies ARC to all files you are compiling including your tweak file.
3Q,谢谢大神