You have a code signing error.
What are the code signing settings for your project?
Select your project from the left side of the project window to open the project editor.
Select your app target from the target list on the left side of the project editor.
Click the Signing & Capabilities button at the top of the project editor.
Does your app have automatic or manual code signing? Are the provisioning profile and signing certificates correct?
Xcode also has code signing build settings. Click the Build Settings button at the top of the project editor to access the build settings. The code signing build settings are in the Signing section. Are the values for those build settings what you expect them to be?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: