I have an Ionic 2 app, which builds and is testable in Xcode 8.2.1
Simulator environment, e.g. iPhone7
(Build Successful
).
This worked perfectly for me. Give a try :)
Step 1:
Select the Project Target-- > Build Settings. Search PROVISIONING_PROFILE and delete whatever nonsense is there.
Step 2:
Uncheck "Automatically manage signing", then check it again and reselect the Team. Xcode then fix whatever was causing the issue on its own.