In my case, I solved this by set the CODE_SIGN_IDENTITY to empty in Build Setting. The default of it is "Sign to Run Locally"
Topic:
Code Signing
SubTopic:
General
Tags: