Although XCode is not the worst IDE in the world, it is definitely buggy.
Countless times I have come up against a bug, almost always to do with provisioning profiles, build failures or sync issues which make no sense whatsoever. To prevent you banging your head constantly against a wall, when a problem seems totally illogical I always take these steps.
- Stop the app
- Delete from the device / simulator as appropriate
- Restart XCode
- Clean all builds
- Pray
If that doesn’t work:
- As above
- Restart Mac
- Restart iPhone
Trust me, more often than not that will fix all sorts of problems.

[...] Read this article: iPhone Development – XCode quirks, bugs and provisioning problems … [...]
Pingback by iPhone Development – XCode quirks, bugs and provisioning problems … | Mac Affinity — February 6, 2010 @ 2:42 am