I have the same issue with my code and since it's complaining about an empty array I have added <array> to the beginning of the list.
<dict>
<array>
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array/>
</dict>
I have submitted it to TestFlight
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: