Create a corrected entitlements.plist file when resigning an ipa.
This corrects an issue where resigning an ipa was causing crashes when accessing the iOS keychain.