The problem:
To re-sign a .ipa file with a different distribution provisioning profile.
To change the bundle identifier.
Required files:
The .ipa file.
The distribution provisioning profile. (.mobileprovision)
Entitlements.plist
Put all the files under the same directory.
Create "Entitlements.plist":
Copy the following code in a text file and make sure that the extension is (.plist).
<?xml...
Re-sign a .IPA file