Cannot upload app to TestFlight with "workout-processing" flag set to TRUE

Hi guys,


I'm experiencing a really annoying bug with an app I'm writing for iOS 10 and watchOS 3. It's a workout app and uses HealthKit APIs. It also sets the "workout-processing" to TRUE, so it can run on the background while it has an active workout session.

Everything works as expected. The code runs on my phone and watch perfectly. I also have an AdHoc binary that I've uploaded to my server and it works fine on my Beta testers devices as well.


The problem happens when I try to upload to Test Flight. If I have this flag set to TRUE, the following error occur:

ERROR ITMS-90669: "Invalid Bundle Signature. The bundle '[MY BUNDLE PATH]/WatchApp Extension.appex' is not signed with the 'com.apple.developer.healthkit' entitlement or has an invalid value."


What's most bizarre, is that if I simply toggle it to FALSE and retry to upload to Test Flight (without touching my code at all), it works and I can have the app availabe for beta testing through Test Flight.


I'd really appreciate if someone could give me some light into this issue.



Best,


Abras

I'm having the same exact issue, it's stopping me from sending beta builds through test flight. I submitted a radar to Apple a few weeks ago but I haven't heard anything back from them yet.

Cannot upload app to TestFlight with "workout-processing" flag set to TRUE
 
 
Q