如图:
Restarting Xcode didn‘t work for me. What fixed it for me was going to Accounts in Xcode (in preferences), Details for my developer account then clicking the refresh icon at lower left. That loaded a new team provisioning profile, which apparently was needed... yeah. We shouldn‘t have to deal with this Apple. Microsoft used to do this stuff to developers, don‘t go there. – Eskim0 Mar 9 at 3:34
步骤:
- 打开Xcode配置(Xcode -> Preferences...)
- 选择Accounts页面,选中你的Apple ID,点右下方的「View Detail...」按钮
- 点击左下角的刷新按钮,等待刷新完成,点「Done」按钮,关闭Xcode配置窗口
- 重新编译运行项目,若出现修复窗口,一路点「Fix Issue」按钮
还有其他解决办法,见引用上面的链接。
时间: 2024-10-29 19:10:35