What worked for me was to remove the following line in the .entitlements file
<key>com.apple.developer.healthkit.access</key>
<array/>
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: