This error indicates that Xcode is trying to sign the HealthKit framework itself. It sounds like you’ve embedded HealthKit into your app. This is incorrect. Your app should reference HealthKit, but it cannot and should not include a copy of HealthKit. That’s already included in the OS on which your app runs.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"