Application-identifier entitlement does not match Error

I recently updated to iOS 9 and WatchOS 2. Now when I try to build my watch app directly to an Apple Watch I get the following error:


"This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed."


All I can tell is this is a security issue. But it has been going on for a few days now and I can not wrap my head around what this error means exactly. My provisioning profiles look like they are formatted correctly and my app bundle identifiers match. Removing my apps, restarting, cleaning my project, killing derived data, and reinstalling my provisioning profiles does not seem to help at all. I even tried manually editing my entitlements files with application-identifier and the option for what the previous application identifier may be.


Any help around this error message would be more then helpful!


Thanks in advance!

Try manually removing ".entitlements" files from your project and then re-add Capabilities for all your targets.

I really wish it were that simple. I did try that multiple times and still get the same error.


When I build the phone application the watch app dies silently and when I try to run the watch scheme it gives me that error. This also happens with a fresh project and vanilla watchkit app and extension.

I had this problem with an iPhone. In XCode, I went to Window->Devices, then selected the problem device in the left tab, and removed the offending app from the "Installed Apps" list in the device detail. I rebuilt and it re-installed without a hitch.

Application-identifier entitlement does not match Error
 
 
Q