If you don't want to or can't use the Mac App Store, we can manually download and install Xcode from the developer portal. If you've successfully downloaded the app from the App Store, skip this exercise.
1. To access the iOS SDK, we need to log in to the iOS developer portal. Go to http://developer.apple.com/ios/ and log in with your Apple ID and password.
2. We need to download the iOS SDK, the application used to develop iOS applications for iPhone and iPad. Once logged in, find the Downloads section near the bottom of the page and click on Download Xcode 4 to start the download. In the following screenshot, we can see the option to download Xcode in the developer portal: