TheOS 教程

https://www.cnblogs.com/ludashi/p/5714095.html

https://www.jianshu.com/p/d8a7e0381ff7


Can't locate IO/Compress/Lzma.pm

解决:

执行下面命令装一下就行了

sudo cpan -I IO::Compress::Lzma

改下这2个文件就可了:

1、/opt/theos/vendor/dm.pl/dm.pl
注释掉第12、13行
#use IO::Compress::Lzma;
#use IO::Compress::Xz;

2、/opt/theos/makefiles/package/deb.mk
第6行lzma改为gzip
_THEOS_PLATFORM_DPKG_DEB_COMPRESSION ?= gzip


make: *** No rule to make target `/application.mk'.  Stop.

解决:

export THEOS=/opt/theos

 export PATH=/opt/theos/bin/:$PATH

theos new sdk problem solve:

https://github.com/theos/theos/issues/146#issuecomment-240574611


指定SDK版本

默认是:iphone:clang:latest:latest。意即meaning to build for iOS, using clang, with the latest SDK version, deploying to support iOS versions matching the SDK version, or newer。

SDK可以放在xcode的包路径里面,或者最好的是放在theos里,然后设置路径即可。 方法如下: you should edit ~/.theosrc (which probably doesn’t exist, so create it) and insert something along the lines of:

SDKVERSION = 9.3 SYSROOT = $(THEOS)/sdks/iPhoneOS9.3.sdk

TARGET = iphone::9.2:9.0


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值