iOS 代码设计错误 "No matching provisioning profiles found"

iOS codesign error "No matching provisioning profiles found"

当我尝试为 App Store 存档我的 xcode 项目时,出现以下错误:

No matching provisioning profiles found: This product type must be built using a provisioning profile, however no provisioning profile matching both the identity “iPhone Distribution: Thomas Hoek (**********)” and the bundle identifier “FutureGame.myApp” was found.

我该如何解决这个问题? 我以前从未将应用程序上传到应用程序商店,所以请非常清楚和描述!

在项目设置的常规选项卡上,您将在 "Team" 正下方收到一个警告和一个修复问题按钮,点击它,xcode 会为您处理剩下的事情。