Adding health-records value into array of com.apple.developer.healthkit.access key or removing this key from entitlements at all fixes this uploading issue but build doesn't appear in App Store Connect and later we get an email with error:
ITMS-90000: This bundle is invalid - $message.
This issue is described here https://developer.apple.com/forums/thread/671373
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: