为 Cydia 开发 iOS 应用程序
我如何开始为 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开发调整与开发独立应用程序有很大不同。如果您想自己完成这一切,请阅读目标C 运行时编程。然而,这并不是绝大多数调整开发人员的做法,因为有几个更简单的选择。
如果您有使用 Objective C 的经验(足以开发应用程序),那么您无需了解更多信息即可进行调整。开发人员达斯汀·霍伊特 (Dustin Howett) 对 Cydia 进行了多次调整,制作了一个名为 theos 的工具,它极大地简化了该过程。您可以在此处阅读。 irc.saurik.com #theos 上还有一个非常活跃的 IRC 频道。最后,您可能想查看一些使用 theos 的流行调整开发人员的 github 页面,以便您可以更好地理解语法(chpwn,DHowett,rpetrich)。
这三种方法是我学会编写调整的方法,一旦你理解了 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.