Spend few days around iOS developers and you will certainly hear at least one (probably more) of them rolling his/hers eyes when Xcode binary signing and provisioning profiles are mentioned. For several years I usually resolved any issues quickly and as it happens – when it hit me as it has others, I was on the edge of throwing my MBP out of the window.
This afternoon I was packaging Run 5k and Go Couch to 5k builds for submission. I wanted to completely separate the apps thus was setting up various parameters so they work properly even in case both are installed on the same device. Highly unlikely for anyone but me, but if it happens it creates pretty serious issues, possibly even data loss.
In the process of fiddling with App Groups, containers and such, at one point I re-generated some profiles on the Developer Portal. When I went to build and submit, this tripped me up: