AppID does not match your bundle identifier

I am using Tools for Apache Cordova to develop a hybrid app that I am compiling down to Objective-C using xcode 7.3.1


Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“L2L”) has an AppID of “com.l2lapp.l2l” which does not match your bundle identifier “xxxxxxxxxx.com.l2lapp.l2l”.


In my members section of my developer.apple.com account, I have a Team ID which is prefixed to my reverse DNS ID. com.domain.app -- when I try to build, if I don't prefix my team id to the front of that, everything just slags and stalls out with its attempts. If I put the prefix in; it causes a mismatch between:


com.domain.app vs teamid.com.domain.app -- clearly they don't match.


How do I go about resolving this? I would think, simply removing the prefix from my bundle would do it, but does not work.

In your usage, mimic Apple's example and never use the entire string - always drop the leading xxxxxxxxxx. characters.

If you've done that and failed, you may be at the mercy of Xcode's penchant to hold onto stale project data.

Force Xcode to clear it's head and re-index/apply changes to your project such as this by using Xcode's Product menu with the option-key pressed, then choose 'clean build folder'.

Run/build again and good luck.

Ken

AppID does not match your bundle identifier
 
 
Q