我正在使用https://github.com/DHowett/theos对越狱的 iphone 进行调整。我关注了http://brandontreb.com/beginning-jailbroken-ios-development-getting-the-tools/一切正常。然后我将我的 Xcode 升级到 4.5。然后在编译任何调整项目时,甚至是一个 hello world 项目,它都失败并出现以下错误:
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
我找到了这个http://iphonesdkdev.blogspot.jp/2012/06/how-to-install-thoes-under-xcode-44.html,遵循了所有步骤,但仍然没有运气。
关于链接工具崩溃的任何想法?