How to package an app into a deb package for iPhone jailbreak to download and install it on the cydia Source

Source: Internet
Author: User

Bytes/

Modify the compilation option to repackage

InBuild Settings -> Code Signing -> Code Signing IdentityOption.Any iOS SDKSetDon't
Code Sign

And then re-Archive

Prepare a directory

Create a directory for packaging. For example, create Debian and applications directories under TMP and TMP, and create a text file control under Debian.
The tmp directory structure is as follows:

-DEBIAN---control-Applications

The control file is the configuration file during packaging. It will also be packaged into the package as the configuration of the Deb package,
Example:

Package: COM. sharedream. dianbingdianjiangname: dianbing point version: 0.1-1description: dianbing point: Game, under development... section: game depends: firmware (> = 4.3) Priority: optionalarchitecture: iphoneos-armauthor: liangwei 

Then copy the. app file packaged by xcode to the applications directory,
The structure is as follows:

-DEBIAN---control-Applications---dianbingdianjiang.app
Package

Log out to the TMP upper-level directory.

dpkg-deb -b tmp dianbingdianjiang.deb

The following lines are packaged.

warning, `com.sull.sample/DEBIAN/control' contains user-defined field `Name'warning, `com.sull.sample/DEBIAN/control' contains user-defined field `Author'warning, `com.sull.sample/DEBIAN/control' contains user-defined field `Sponsor'dpkg-deb: ignoring 3 warnings about the control file(s)

Copy to the cydia source, scan the package again to generate the packages list file, and compress it into packages.bz2.

dpkg-scanpackages -m debs >Packagesbzip2 -zkf Packages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.