download apple sample code via commandline