I had the same issue. I haven’t changed the entitlements for months and out of a sudden that error appeared, it's very strange. Then I removed com.apple.developer.healthkit.access and it worked good. But is this the best way to solve this problem? I hope Apple engineers can answer...