What finally worked for me was go into Settings -. Apple Account -> Media & Purchases and then sign out of that account, but stay signed in on your "normal" account on the mac.
I know it's weird but just sign out of the 'media and purchases' account.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: