I asked chatgpt and it told me to paste the error logs, it then told me to use my own bundle identifier that you change in "Target" I changed it to something original and it worked.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: