App Store Distribution fails on valid com.apple.developer.healthkit.access value

The error trying to distrubute to the store
Code Block
According to the provisioning profile, the bundle contains a key value that is not allowed: '[]' for the key 'com.apple.developer.healthkit.access' in 'Payload/<app>.app/<app>'

Looking at the docs, this is a valid value:
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_healthkit_access

Similarly, I had no issue until this appeared randomly....

Entitlement File
Code Block
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.healthkit.access</key>
<array/>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>webcredentials:invoy.com</string>
<string>webcredentials:invoy.dev</string>
<string>webcredentials:invoydev.com</string>
<string>webcredentials:invoystage.com</string>
<string>applinks:invoy.com</string>
<string>applinks:www.invoy.com</string>
<string>applinks:invoy.dev</string>
<string>applinks:www.invoy.dev</string>
<string>applinks:invoydev.com</string>
<string>applinks:www.invoydev.com</string>
<string>applinks:invoystage.com</string>
<string>applinks:www.invoystage.com</string>
</array>
<key>com.apple.developer.healthkit</key>
<true/>
</dict>
</plist>


HealthKit is enabled as a capability in Apple Profile as well as for the product.

Does anyone have an idea of what could be going wrong? Seems like I am correctly following the practices.

Accepted Reply

I removed com.apple.developer.healthkit.access and fixed it.

Replies

This is still not solved.
I've succeeded to upload without any modification. Did Apple fix the issue?
Just managed to upload my build as well to the app store!
Looks like they finally fixed it.
It seems as of this morning that this issue has been resolved by Apple. I was able to upload this morning with no error.
i have a different question. I am new to APPLE music.




I love your platorm.borderline delusion band is amazing!! Great words and singers.songs w 90s rap legend keith murray, ras kass, Durga McBroom( PINK FLOYD) Bobby womacks nephew( BINKY WOMACK)& derf scratch( FEAR).when i search keith murray, dont see BD? my friends love BD.they r the next NIRVANA!.why are they not on a Keith Murray playlist?