TheOS问题以及解决方案

本文介绍了在使用Theos编译工具进行iOS应用开发时遇到的一个典型编译错误及其解决方法。错误信息显示,在针对iOS 6.0进行构建时部署到了iOS 3.0,这会导致仅生成armv7架构的二进制文件。文章提供了通过设置SDKVERSION环境变量来解决此问题的方法。

Make

错误1(Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries)

/Users/zzf/Desktop/逆向分析/hellotweak/test/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak test...

 Linking tweak test...

clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7

ld: library not found for -ldylib1.o

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [obj/test.dylib.ba964c90.unsigned] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [test.all.tweak.variables] Error 2

 

解决方案 

export SDKVERSION=10.1

 

转载于:https://www.cnblogs.com/mobileworld/p/6344661.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值