Search code examples
iosxcodeterminalipa

Change app Version with only IPA file provided (no xcode)


I have an app that was developed for my company. Unfortunately it needs to be resigned (i know how do this part) because the distribution cert has expired. The problem is we need to change the version number so it allows for an update on all iPads. Does anyone know how to do this using terminal (i have xcode installed but i dont have and of the files from the developers). Once again, i only have the IPA file for the app.

Thanks for any help.


Solution

    • Rename the .ipa to .zip, and unzip the archive.
    • Inside should be a folder called "payload", and inside that folder should be your application archive.
    • Right-click the application archive, and choose "show package contents."
    • Find the Info.plist file (either named "Info.plist" or "AppName_Info.plist"). Open that file with a text editor
    • Change the value of "CFBundleVersion" and "CFBundleShortVersionString" to your desired version number.
    • Re-zip the archive
    • Rename the .zip to .ipa
    • Re-sign the .ipa