Quite often when you re-sign applications the current app entitlements may get overwritten and you may have issues with the app.
You can check the app entitlements prior to generating a new App ID in order to confirm that you have all the correct entitlements.
This can be done by following the steps below:
Pre-requisites you need a Mac with Xcode installed
-
Copy an existing IPA file into another folder and rename it from yourapp.ipa to yourapp.zip
-
Extract the zip, you will end up with a Payload folder that contains yourapp.app
-
Open terminal and navigate to the payload folder (or specify the full path) and run the following command
codesign -d --entitlements - ayourapp.app/yourapp
4.This should give you a list of app entitlements in XML format (see example below)
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>uniqueID.com.yourdomain.yourapp</string>
<key>com.apple.developer.team-identifier</key>
<string>UNIQUEID</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>uniqueID.com.yourdomain.yourapp</string>
</array>
</dict>
</plist>