Modify the IPA file version number

Source: Internet
Author: User

For developers, to provide users with IPA files, users can ask you to modify the next version number, choose whether to upgrade or maintain the current version. In this case we can repack, but just modify the version number on the repackaging, it seems that the heart is unwilling. So the question is, is there any way to modify the version number directly in the IPA file? The following analysis:

1. The IPA version number is in the package in the Info.plist file, the Info.plist file to change the bundle version or bundle versions string, short value on the line;

2. However, it is not possible to install directly, because you modify the IPA file, then the IPA signature file (_codesignature) must be verified, this will require re-signing.

Okay, so just complete the above two steps.

Unzip the IPA package

Unzip ${target}.ipa

Modify version number

Re-signing

Codesign-f-S "IPhone Distribution: Company Name" ${target}.app

Encapsulated as IPA

Zip-r ${target}.ipa payload/

Get

Reference:

http://floatlearning.com/2011/11/re-signing-an-ios-app-without-xcode/




Modify the IPA file version number

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.