Getting a "Save failed!" error on classkit when deploying to testflight.

I implemented ClassKit for my app and the schoolwork integration works when I build directly from Xcode. When I build for release or Ad Hoc distribution, however, no activities show up in schoolwork. I logged the errors to our analytics tool and it looks like I am getting "Save failed!" when I try to create a context.


I tried changing to the ad hoc and release configurations in the debug build and schoolwork was able to recognize the activities in each of them.


I have a testflight version of Schoolwork installed on my device and could not find another version in the app store. Is there something about it still being a beta app that would cause this? Does anyone else have this issue?

Thanks!

Sam