为 Cydia 开发 iOS 应用程序

发布于 2024-12-05 12:13:13 字数 72 浏览 1 评论 0原文

我如何开始为 Cydia 开发简单的 iOS 调整?

为官方App Store和Cydia编译应用程序有什么区别?

How can I start developing simple iOS tweaks for Cydia?

What's the difference in compiling an app for the official App Store and Cydia?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

没︽人懂的悲伤 2024-12-12 12:13:13

开发调整与开发独立应用程序有很大不同。如果您想自己完成这一切,请阅读目标C 运行时编程。然而,这并不是绝大多数调整开发人员的做法,因为有几个更简单的选择。

如果您有使用 Objective C 的经验(足以开发应用程序),那么您无需了解更多信息即可进行调整。开发人员达斯汀·霍伊特 (Dustin Howett) 对 Cydia 进行了多次调整,制作了一个名为 theos 的工具,它极大地简化了该过程。您可以在此处阅读。 irc.saurik.com #theos 上还有一个非常活跃的 IRC 频道。最后,您可能想查看一些使用 theos 的流行调整开发人员的 github 页面,以便您可以更好地理解语法(chpwnDHowettrpetrich)。

这三种方法是我学会编写调整的方法,一旦你理解了 theos,它真的很简单。 theos 还具有用于创建独立应用程序以及其他插件的系统,因此请下载它并看看什么最适合您的需求。快速谷歌搜索也会找到一些有用的理论教程(1,2)。祝你好运!

最后要注意的一件事是,您可能需要推迟几周进行开发,原因是 Apple 可能很快就会发布 iOS 5,情况可能会发生变化,而且 #theos IRC 上的每个人都会拒绝帮助解决与 iOS 5 相关的问题。

Developing a tweak is quite different from developing a self contained app. If you want to do it all yourself, read up on Objective C runtime programming. However, this is not how the vast majority of tweak developers do it, as there are several easier options.

If you have experience with Objective C (enough to be able to develop an app), there isn't a whole lot more you need to know to make a tweak. Dustin Howett, a developer who has made several tweaks for Cydia, made a tool called theos which vastly simplifies the process. You can read up on it here. There is also a very active IRC channel at irc.saurik.com #theos. Finally, you may want to check out the github pages of some popular tweak developers that use theos, so you can better understand the syntax (chpwn, DHowett, rpetrich).

Those three methods are how I learned to write tweaks, and once you understand theos it is really quite simple. theos also has systems for creating self contained apps as well as other plugins, so download it and see what is best for what you want. A quick google search will also turn up several useful theos tutorials (1, 2). Good luck!

One final thing to note is that you may want to hold off on developing for a couple weeks, the reason being that Apple may be releasing iOS 5 soon and things could change, as well as the fact that everyone on the #theos IRC will refuse to help with problems pertaining to iOS 5.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文