Wednesday, 15 June 2011

Error re-signing and updating build number of .ipa -



Error re-signing and updating build number of .ipa -

my enterprise certificate expiring , trying re-sign apps. i'm taking .ipa file , running re-signing script. works there. can install , utilize updated .ipa file expected.

but mdm won't take binary because "already exists" have update version and/or build number. want update build number. wrote little script set build number 42. (after tested in practice going create increment number).

$ unzip -q myapp.ipa $ /usr/libexec/plistbuddy -c "set :cfbundleversion 42" payload/myapp.app/info.plist $ zip -qr myapp_done.ipa payload

when load iphone configuration utility loads, when seek install on device "the application not have valid signature."

so question is, doing wrong?

re-compiling binaries lastly ditch alternative since involve total testing on every single app (after all, it's new binary).

i've forked project called iresign , compiled you. it's straightforward, , works. allow me know how goes! https://github.com/snapapps/iresign

code-signing ipa info.plist

No comments:

Post a Comment