尝试使用theos和iPhone6在设备上制作工具

时间:2014-11-06 20:03:17

标签: theos

我已阅读iPhoneDev Wiki上的Theos/Setup

我已将Theos安装到/ var / theos(private / var / theos)并已将iPhone8.1.sdk复制到/var/theos/sdks/iPhone8.1.sdk中:

iPhone:/var/theos/sdks root# ls -al
total 0
drwxr-xr-x 3 root admin 102 Nov  7 08:11 ./
drwxr-xr-x 9 root admin 374 Nov  7 07:58 ../
drwxrwxr-x 5 root admin 306 Nov  7 08:01 iPhoneOS8.1.sdk/

我修复了perl / rsync未按照the instructions

为arm64编译的问题

我创建了一个工具:

$THEOS/bin/nic.pl
....
iPhone:~/Work/test root# ls
Makefile  control  main.mm  theos@

但是,当我制作时,我收到以下错误:

iPhone:~/Work/test root# make
/var/theos/makefiles/common.mk:116: *** The "iphone" target is not supported on the "iphone" platform.  Stop.

我做错了什么?或者这是8.1 sdk的问题吗?

1 个答案:

答案 0 :(得分:0)

http://sharedroutine.com/?p=11的文章之后,它让我感到满意。

我将/ var / theos / makefiles / platform / Darwin-arm符号链接到/ var / theos / makefiles / platform / Darwin-arm64并忘记了symlink / var / theos / makefiles / targets / Darwin-arm到/ var / THEOS /生成文件/目标/达尔文-arm64。

ln -s /var/theos/makefiles/targets/Darwin-arm /var/theos/makefiles/targets/Darwin-arm64 ln -s /var/theos/makefiles/platform/Darwin-arm /var/theos/makefiles/platform/Darwin-arm64

您的路径可能不同。