我们在访问苹果开发网站的时候会遇到这样的问题:An unspecified error occurred.The selected team's agent, '**' must agree to the latest Program License Agreement in their developer account.
解决方案:
1、It's a propagation server issue. Wait approximately 10 minutes and it will be fixed.(等待就可以解决)
2、downloading all provisioning profiles again worked: Xcode -> Preferences -> Accounts -> View Details -> Download All
Struggled with this for a while, hope that helps.
3、I fixed the issue by running Xcode->Preferences->Accounts then selecting the agent and clicking the Create button for each of the Signing Identities
4、 What worked for me (after accepting the agreement) was removing my apple ID from the account list in Xcode and adding it back in.(重新登录和下载证书)