Theos提出问题

Fri*_*ous 2 iphone jailbreak ios

我一直在关注这个教程: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
Run Code Online (Sandbox Code Playgroud)

因为我使用theos而不是xcode(虽然安装了4.5版本,使用版本6.0 SDK),但更改构建设置并没有帮助.

仅供参考我正在为iphone iOS 4.3.3开发

yfr*_*cis 8

这是目前已知的问题,如果您只能使用iOS6 SDK访问Xcode 4.5,则应将以下内容放在makefile的顶部:

ARCHS = armv7
Run Code Online (Sandbox Code Playgroud)

如果您可以访问旧的SDK,则以下内容将允许您成功编译armv6:

TARGET = iphone:sdkversion
Run Code Online (Sandbox Code Playgroud)

其中sdkversion是一个"4.0"等形式的数字字符串,所以如果你想使用5.1 SDK(这是最新的,允许你创建armv6对象),请将以下内容放在makefile的顶部:

TARGET = iphone:5.1
Run Code Online (Sandbox Code Playgroud)