【发布时间】:2012-10-07 02:43:26
【问题描述】:
我一直在关注本教程: http://brandontreb.com/beginning-jailbroken-ios-development-building-and-deployment/
以 foobar 的名称启动应用程序。但是当我输入“make”时,我得到...
19:33:14-~/code/theos/foobar$ make
Making all for application foobar...
Compiling main.m...
Compiling foobarApplication.mm...
Compiling RootViewController.mm...
Linking application foobar...
ld: file is universal (4 slices) but does not contain a(n) armv6 slice: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib/crt1.o for architecture armv6
collect2: ld returned 1 exit status
make[2]: *** [obj/foobar] Error 1
make[1]: *** [internal-application-all_] Error 2
make: *** [foobar.all.application.variables] Error 2
因为我使用的是 theos 而不是 xcode(虽然安装了 4.5,但 SDK 版本为 6.0),因此更改构建设置无济于事。
仅供参考,我正在为 iphone iOS 4.3.3 开发
【问题讨论】: