Upload an application using xcode's organizerProgramThe following error occurs:
Xcode encountered an internal logic error. choose "continue" to continue running xcode in an inconsistent state. choose "crash" to halt xcode and file a bug with Crash reporter. choosing "crash" will result in the loss of all unsaved data.
The solution to this problem is to clear the cache. For details, see the following link.
Here's how to clean your caches:
1. Choose users> your user name> library> caches.
2. From the menu bar, choose Edit> select all.
3. Drag all of the items to the trash.
4. From the Macintosh HD, choose library> caches.
5. Choose Edit> select all, and drag the items to the trash. You'll be required to type in an administrator's password.
6. Restart your Mac.
Link: http://www.brighthub.com/computing/mac-platform/articles/2309.aspx
Link 2: http://www.pingguoke.net/2011/04/%E5% AE %89%E8%A3%85xcode4%E4%BB%A5%E5%90%8E-%E4%B8%8D%E8%83%BD%E4%BD%BF%E7%94%A8%E7%9A%84%E9%97% AE %E9%A2%98%E5% AE %8C%E7%BE%8E%E8%A7%A3%E5%86%B3/