I'm using https://github.com/DHowett/theos to implement a tweak for jailbroken iphone. I followed http://brandontreb.com/beginning-jailbroken-ios-development-getting-the-tools/ and everything worked fine. Then I upgrade my Xcode to 4.5. Then when compiling any tweak projects, even a hello world project, it failed with following error:
Making all for tweak PreferenceLoader...
Preprocessing Tweak.xm...
Compiling Tweak.xm...
Linking tweak PreferenceLoader...
collect2: ld terminated with signal 6 [Abort trap: 6]
ld(8724,0x7fff78fd2960) malloc: *** error for object 0x7f89b35003f0: pointer being freed was not allocated
*** set a breakpoint in mallocerror_break to debug
make[2]: *** [obj/PreferenceLoader.dylib] Error 1
make[1]: *** [internal-library-all] Error 2
make: *** [PreferenceLoader.all.tweak.variables] Error 2
I found this http://iphonesdkdev.blogspot.jp/2012/06/how-to-install-thoes-under-xcode-44.html, followed all steps, but still no luck.
Any ideas on the linking tool's crash?