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