首页 > 代码库 > Theos简介

Theos简介

Theos简介

  Theos is a cross-platform suite of development tools for managing, developing, and deploying iOS software without the use of Xcode.

  The Theos suite of tools consists of a handful of important components:

  • A project templating system (NIC), which creates ready-to-build empty projects for varying purposes(NIC方便创建工程)
  • A robust build system driven by GNU Make, capable of directly creating .deb packages for distribution in Cydia(make可直接创建.deb)
  • Logos, a built-in preprocessor-based library of directives designed to make MobileSubstrate extension development easy(Logos,预处理命令,用于方便开发MobileSubstrate扩展)

  Theos is primarily used for jailbreak-centric iOS development (such as MobileSubstrate extensions, PreferenceLoader bundles, and applications intended for distribution in Cydia), but can be used for other types of projects as well. This can be helpful for someone wishing to develop an iPhone SDK-based application without using Mac OS X or Xcode to do so, as Theos can be used on Linux and iOS as well.

  Theos主要用于开发面向越狱iOS的项目(比如MobileSubstrate extension,PreferenceLoader bundles,aplications)。也可被用于非Mac平台上的开发工具。

  Theos also includes Logify, which accepts a class header and generates a MobileSubstrate extension which hooks all of that class‘s methods, printing log messages when they are called. This helps a hook developer see when certain methods are invoked during use.

  Logify接受一个头文件,生成一个MobileSubstrate扩展,这个扩展hook该类所有的方法,当这些方法被调用时会打印出日志。

Q&A

1、Q:What is tweaks?

A:The most popular way of creating MobileSubstrate extensions, also known as tweaks,

参考:http://iphonedevwiki.net/index.php/Theos