I have a fresh OS X Yosemite, and when I went to the store to install Xcode 7 and hit the Install App button, it turned green and a loading icon appeared but after waiting a long time nothing happened. I successfully installed three apps from the store but I can not install Xcode. Please help!
You can also download an Xcode
.dmg installer file directly from the apple developer site, downloads. Xcode 7.2 is no longer available, at time of writing Xcode 7.3 can be downloaded, it is compatible with OS X 10.11 up.
EDIT: Looks like the XCode 7 link now just redirects to the AppStore. Perhaps the stuck on app install issue has been fixed? Anyone still getting it.
EDIT2: There's one more way to download xcode package direcly: in the bottom of /download page there's a link see more downloads which points to the /download/more page where you can download all necessary files.