I have an Ionic 2 application that is created and tested in a simulator environment Xcode 8.2.1, for example, iPhone7( Build Successful).

When I try the Archiveapplication to create a file ipato install on the device, I follow these instructions. But Product → Archiveinactive. Therefore, I am changing the active circuit to Generic iOS Device.

But then when I click Product → Archive, I get Build Failed.
theWhoZoo has conflicting provisioning settings. theWhoZoo is automatically signed for development, but a conflicting iPhone Distribution code signature identification is specified manually. Set the code signing identifier value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. Code signing is required for the product type "Application" in the SDK "iOS 10.2"

If anyone could advise how I can fix this in order to build the Archive, I would appreciate it.
source
share