Added support for enabling iCloud and entitlements