This may help, may not. I found that I couldn't debug something I was developing on my physical device. After tearing my hair out I deleted the app from my phone and when it tried to re-deployed I got the same error. I then realized that the APS Environment value in my entitlements was set to production rather than development. I changed it, deleted the app on the phone and re-deployed without error. Might not be the same issue, but this helped me.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: