Xcode 9 does not accept Xcode-generated provisioning profile. So the solution is to clone the Xcode generated provisioning configuration file.
Ask your team agent to "manage" on your team to manage your configuration files
To create a new configuration profile or edit an existing configuration profile:
Edit Configuration Profile
Change the application ID to the application ID in Xcode:
Enter image description here
Change the certificate to the correct certificate (not necessarily up to date):
Enter image description here
Click Build
Click to download
Double-click it on your computer
Select it to sign:
Enter image description here
File
When exporting, check to see if your application identifier and Keychain Access group are correct
https://stackoverflow.com/questions/46358803/ Xcode-9-provisioning-profile-is-xcode-managed-but-signing-settings-require-a-m