This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
运行真机报错This application‘s application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
解决:
With your device connected, and Xcode open, select Window->Devices
In the left tab of the window that pops up, select your problem device
In the detail panel on the right, remove the offending app from the "Installed Apps" list.