The current version of Xcode on the App Store (5.0.2) requires Mountain Lion (10.8.4), so that's a good reason to be running at least 10.8. Always good to use the latest tools.
And really you might as well just upgrade to Mavericks seeing as the upgrade is free.