I don't think the Lion compatible version of Xcode is released yet, so you would need to download the beta from your Mac OS or iOS developer account page. You can download the existing release version from there too. Not sure if it runs fine in Lion.