Uses xcode dir for downloading and removes it afterwards.