The attached resign.bash script is a shell script that can be executed on a Mac that has Xcode 5 installed.
After downloading the file, make sure you make it executable, e.g.:
chmod +x resign.bash
Simple Re-signing (Without Customizations)
If you don't need to perform any customizations (see How To: Configure the Jive iOS App for Enterprise Distribution for details on customizations) you can re-sign the IPA directly using this script. The usage of the script is as follows:
./resign.bash <input binary> <signing identity> <provisioning profile> <output binary>
./resign.bash jive-ios-core.ipa "iPhone Distribution: Jive Software (3D3K4D3PRQ)" jive-ios-core-distribution-ad-hoc.mobileprovision jive-ios-core-ad-hoc.ipa
This re-signs an
ipa file with the identity
"iPhone Distribution: Jive Software (3D3K4D3PRQ)" (quotes are required because of spaces in the identity name) and the provisioning profile
jive-ios-core-distribution-ad-hoc.mobileprovision, and writes the resulting
jive-ios-core-ad-hoc.ipa. Replace the signing identity and provisioning profile with the appropriate values for your organization.
Re-signing With Customizations
Before customizing, we recommend performing a "simple" re-signing to make sure you have the correct iOS certificates and provisioning profiles in place.
After you have made desired customizations as described onHow To: Configure the Jive iOS App for Enterprise Distribution, you will have a jive-ios-core.app directory instead of a .ipa file. Run the script with the .app directory instead of the .ipa file as the first parameter:
./resign.bash jive-ios-core.app "iPhone Distribution: Jive Software (3D3K4D3PRQ)" jive-ios-core-distribution-ad-hoc.mobileprovision jive-ios-core-ad-hoc.ipa