Set the code signing identity value to "3rd Party Mac Developer Application" in the build settings editor, or switch to manual signing

I am uploading an iphone game via Unity 3D to XCode and have been getting this error for a month, "Spatial Media Metadata Injector is automatically signed for distribution but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "3rd Party Mac Developer Application" in the build settings editor, or swithc to manual signing." I have tried switching to 3rd party mac developer and have tried changing code signing identity to iPhone developer but I keep getting this message. Anyone know how to solve this?

Replies

Did you solve this problem? I'm using Unity 2019.1.4f1 and xCode 10.31. I don't know what should I do.

Has anyone found a solution to this?