Modified resigning procedure to automatically copy the target provisioning profile's entitlements into the new bundle. This prevents a crash when accessing the iOS keychain after resigning the ipa.