如何为Cydia和越狱iPhone开发应用程序 [英] How to develop an app for Cydia and jailbroken iPhones

查看:137
本文介绍了如何为Cydia和越狱iPhone开发应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始为iPhone开发应用程序。
我想开发一个特定的应用程序,但Apple肯定会拒绝它,所以我想为Cydia做这个,因为我觉得它很有用。

I am starting to develop apps for iPhone. There is 1 specific app that I'd like to develop, but Apple will for sure reject it, so I want to do it for Cydia, cause I think it is just useful.

我正在试图弄清楚如何使用Theos和XCode来创建我的应用程序,但我无法理解任何事情。如果你们中的一些人可以帮助我,我会很高兴的。

I'm trying to figure out how to use Theos and XCode to create my app, but I can't understand anything. I would be very glad if some of you could help me with this.

我已经安装了Theos,以及Conor Burgess的头文件转储脚本,但我只是不知道如何启动doint。我应该如何使用XCode和Interface Builder与Theos一起创建我的应用程序?我有一个mac,所以我不需要在Windows上开发任何工具链。我也有我的iPhone越狱,我已经能够在iPhone上试用我在XCode上开发的一些应用程序。

I have already installed Theos, and the header-dump scripts from Conor Burgess, but I just don't know how to start doint anything. How should I use XCode and Interface Builder with Theos to create my app? I have a mac, so I don't need any toolchain to develop on Windows. I also have my iPhone jailbroken, and I have been able to try on the iPhone some apps I had developed on XCode.

我应该遵循哪些步骤?我的意思是,如果你们中的一些人习惯为cydia开发应用程序,你会怎么做?您使用Theos创建一个新模板,然后在XCode中打开.mm文件并创建.xib文件??那么当你完成后,你用XCode编译它?我应该使用ldid吗?有没有n00bs开发人员的指南?

Which steps should I follow? I mean, if some of you is used to develop apps for cydia, what do you do? You create a new template with Theos, and then open your .mm file in XCode and create the .xib file?? Then when you are done, you compile it with XCode? Should I use ldid? Is there any guide for n00bs developers?

我看过Theos创建的模板,我认为我需要一个应用程序,因为我需要一些用户界面,但也许我也需要调整...关于它的信息不多,我只是迷失了......

I have seen the templates Theos creates, and I think I need the Application one, cause I need some user interface, but maybe I'll need tweak too... There is not much info about it, I am just lost...

非常感谢大家!
祝你好运!

Thank you all very much in advance! Best regards!

推荐答案

Theos应用程序模板将帮助您创建越狱应用程序,但您不会能够使用Interface Builder,而无需进行广泛的内省。 Theos有一个模块允许你将xibs编译为nibs,但是Interface Builder很糟糕,不管怎么说都不应该用于任何东西。

The Theos application template will help you create a jailbreak application, but you won't be able to use Interface Builder for it without some extensive introspection. There is a module for Theos that allows you to compile xibs to nibs, but Interface Builder is awful and should not really be used for anything anyway.

此外,Theos是什么将处理编译,甚至使用 ldid 进行签名。您只需运行 make 来构建项目,然后 make package 将其打包到.deb中。您可以使用 make install 将其安装到您的设备。

In addition, Theos is what will handle compilation, and even signing using ldid. You simply run make to build your project, and then make package to package it in a .deb. You can install it to your device with make install.

在代码中创建接口并不像它可能那么困难似乎。

Creating interfaces in code is not as difficult as it might seem.

如果您需要进一步的帮助,请查看irc.saurik.com上的IRC频道#theos。我在那里闲逛,事实上,我是Theos的作者。

If you need further assistance, check out the IRC channel #theos at irc.saurik.com. I hang out there, and, in fact, I'm the author of Theos.

这篇关于如何为Cydia和越狱iPhone开发应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆