Failed to create provisioning profile.
The app ID "cn.ternence.-----" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
No profiles for 'cn.ternence.-----' were found
Xcode couldn't find a provisioning profile matching 'cn.ternence.-----'.
这里显示 app id 冲突，需要修改 bundle identifier .直接修改一下值再运行就可以。