Hello everyone.
My app has been rejected in App Store review multiple times due to improper use of HKWorkoutSession, but I see no way around this, and I haven't gotten any feedback from Apple telling me how I can get around this, they just say to remove it because the intended use of HKWorkoutSession is to read fitness data, which they say I am not doing.
My app is designed to help induce lucid dreams, and it uses constant heart rate readings to do this. It reads the user's heart rate throughout the night (that is, the app is running for around 8 hours). Thus it needs to run as the frontmost app, and it needs to run for 8 hours continuously without user input. The only way I know of to do this is by using HKLiveWorkoutBuilder and HKWorkoutSession. Extended run time sessions do not work because of the 1 hr time limit.
I would really appreciate any help with this problem. It is frustrating that Apple's review is providing no suggestions and will not accept my app if it uses HKWorkoutSession, which is essentially the backbone of the app.
Thank you.