Using Xcode 9.1, after building an iOS app, I try to archive it. But I get the following error message:
Provisioning profile "MyAppProfile" doesn't include signing certificate "iPhone Developer: My Name (X1YZ2AB3CD)".
What is the simplest way to solve this?