“make package install”错误 - theos ios 8.4

时间:2015-07-06 01:50:16

标签: theos ios8.4

我正在尝试在我的iPhone 6上使用Theos创建一个应用程序,但是当我在MobileTerminal中输入“make package install”时,它总是会出现同样的错误:

theos/makefiles/common.mk:115: *** The "iphone" target is not supported on the "" platform. Stop.

我使用了ReverseEffect的“Theos Tutorials”,无论我做什么,它每次都会显示错误。我已经下载了iOS 8.1 sdks,并且我在TaiG越狱中运行iOS 8.4。

这是我的makefile:

include theos/makefiles/common.mk

APPLICATION_NAME = Hello
Hello_FILES = main.m HelloApplication.mm RootViewController.mm
Hello_FRAMEWORKS = UIKit Foundation

include $(THEOS_MAKE_PATH)/application.mk

2 个答案:

答案 0 :(得分:0)

运行以下命令:

sudo ln -s $THEOS/makefiles/platform/Darwin-arm{,64}.mk
sudo ln -s $THEOS/makefiles/targets/Darwin-arm{,64}

查看维基上的常见问题: http://iphonedevwiki.net/index.php/Theos/Setup#Undefined_platform

答案 1 :(得分:0)

在您的make文件中,将其添加到顶部

ARCHS = armv7 arm64