在 XCode 8 中切换到新 iPhone 后的配置文件问题

Provisioning Profile issue after switching to new iPhone in XCode 8

我正在使用 iPhone 6 和 XCode 8 测试我的应用程序。但最近我买了一个新的 iPhone 7+,当我尝试 运行 我的此设备上的应用程序出现以下错误:

我没有找到添加新设备的方法。在开发者账户里面写着:

Your Developer Program Membership has expired.
Renew your membership to keep your access to Apple Developer Program benefits and services. Once renewed, be sure to agree to your Paid App Agreement in the Agreements, Tax and Banking section of iTunes Connect.

但它已经过期 1 年了。而且我没有看到任何可以帮助我的选项。

里面XCode 我试过删除配置文件,但每次都会修复。

解决这个问题我有哪些选择?

您之前创建的苹果开发者账号有效期只有1年。我们必须每年更新一次,以继续测试设备中的应用程序。当您续订您的 Apple 开发者 ID 时,您需要将新的 iphone 7+ 设备添加到您的帐户中,下载配置文件,该配置文件将用于调试和分发的开发,以便将应用程序上传到应用程序商店或 TestFlight。所以下载相应的证书并将其替换为您系统中以前的证书。

除了这个我知道没有其他方法可以帮助你解决这个问题。