Automatic signing is unable to resolve an issue with the target's entitlements file

Are you sure that both Mobile Provisioning and Certificate are set for distribution and that they are checked?