How add entitlements in UE4 entitlement files?

Did you find a solution?
I’ve been trying to figure this out for a while…

I’m getting this error:
Provisioning profile “XXX” doesn’t include the com.apple.private.memory.legacy_footprint entitlement.