【问题标题】:Trying to learn iPhone Tweak Dev, unknown Theos error on 'make' command尝试学习 iPhone Tweak Dev,“make”命令出现未知 Theos 错误
【发布时间】:2013-02-24 07:28:49
【问题描述】:

这是终端中出现的内容。有什么建议吗?我已经在这个线程中完成了建议:Error compiling tweak in theos 但它没有帮助。

Copying resource directories into the application wrapper...
Compiling main.m...
Compiling fooProjectApplication.mm...
Compiling RootViewController.mm...
Linking application fooProject...
collect2: ld terminated with signal 6 [Abort trap: 6]
ld(2090,0x7fff77045960) malloc: *** error for object 0x7fcaaa5009c0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
collect2: ld terminated with signal 6 [Abort trap: 6]
ld(2094,0x7fff77045960) malloc: *** error for object 0x7fbeeb6003d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
lipo: can't open input file: /var/folders/nl/nffpk84n2vq1pg2lxcplx4mh0000gn/T//ccKO4deH.out (No such file or directory)
make[2]: *** [obj/fooProject.app/fooProject.ba964c90.unsigned] Error 1
make[1]: *** [internal-application-all_] Error 2
make: *** [fooProject.all.application.variables] Error 2

【问题讨论】:

  • 您设备上的工具链有问题:具体来说,链接器存在内存管理错误。你有什么工具链?
  • 我该如何检查这个?抱歉,对此还是很陌生。
  • 你没有“检查”,你知道安装了什么工具链。

标签: ios makefile cydia tweak theos


【解决方案1】:

将此设置在您的 makefile 顶部

export ARCHS = armv7
export TARGET = iphone:latest:4.3
export GO_EASY_ON_ME=1

我有同样的问题,所以这可能会帮助你解决它

【讨论】:

  • 这行得通,但你介意解释一下如何/为什么吗?这是否将兼容的 SDKVERSION 设置为 4.3?谢谢
  • 其实我自己也很困惑。我认为它与最新的 Xcode 库有关,因为它放弃了对 armv6 的支持。但是关于将目标设置为 4.3,我真的不知道。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-11-05
  • 1970-01-01
  • 2011-06-11
  • 1970-01-01
  • 1970-01-01
  • 2021-10-23
相关资源
最近更新 更多