以下方法适用于7.2以上所有版本Xcode
It solved by followings steps:
Open Xcode preference
Select the appropriate team
Click the "View Details..".
In section "Signing Identities": click on "Reset" for each of them.
In section "Provisioning Profiles". Click on "Download All".
Click on "Done."
Go in Xcode, build settings, select it. In General tab, the issues should get removed.
Restart the Xcode.
Do the Final build.
That's all.