I'm having the same problem. Installed Safari 4 Beta. XCode crashes with the same error message. I've uninstalled using the uninstaller and XCode is still crashing.
UPDATE: Based on this apple thread (http://discussions.apple.com/thread.jspa?messageID=9059895) upgrading to XCode 3.1.2 fixes the...