New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Build Number in ipa info command #160

skela opened this Issue Oct 30, 2014 · 6 comments


None yet
5 participants

skela commented Oct 30, 2014

Would it be possible to include the build number in the ipa info output?
At this point its only showing version, which is the CFBundleShortVersionString.
Could it also output the build number (CFBundleVersion) below it?


This comment has been minimized.


mattt commented Nov 17, 2014

The info command displays an exhaustive list of key-value pairs in the mobile provisioning file of the IPA file. Whatever is shown is what is available.

@mattt mattt closed this Nov 17, 2014


This comment has been minimized.


KrauseFx commented Nov 17, 2014

AFAIK the build number is only stored in the Info.plist, right?


This comment has been minimized.

matiassingers commented Nov 20, 2014

@KrauseFx yeah correct, a lot of the metadata is stored in Info.plist.

I actually just built a quick NodeJS tool to extract it, see ipa-metadata.

@mattt + @nomad if you guys want, I can try and create a PR to shenzhen with some basic data from Info.plist.


This comment has been minimized.

skela commented Dec 11, 2014

I think build number in particular is a nice thing to have, especially after a successful build. This was more of a nice to have feature ;)


This comment has been minimized.

matiassingers commented Dec 11, 2014

@skela agreed, my offer for a PR still stands - but up to @mattt + @nomad


This comment has been minimized.

sebyddd commented Aug 24, 2016

For anyone still looking to print the build number, I put up a small bash function to unzip the .ipa in a temporary folder, extract the Build Version & Number and remote the generated Payload folder.

    # Display build version number
    mkdir $TMPDIR/temp-payload
    unzip -q APPNAME.ipa -d $TMPDIR/temp-payload
    BUNDLE_VERSION=$(defaults read $TMPDIR/temp-payload/Payload/ CFBundleShortVersionString)
    BUILD_NUMBER=$(defaults read $TMPDIR/temp-payload/Payload/ CFBundleVersion)
    print "iOS Build – $BUNDLE_VERSION ($BUILD_NUMBER)\n"
    rm -rf $TMPDIR/temp-payload

screen shot 2016-08-24 at 22 04 28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment