Whats the fastest way to install XCode on a virtual machine where the host already has XCode?

1

I have a macbook pro with XCode and VMWare running on it. I've created a mac VM on that machine, and would like to install XCode. Downloading via the store takes forever, I was hoping I could avoid that. I read somewhere that I should be able to copy the XCode directory from the Applications folder of the host machine to the Applications folder of the VM, but I haven't been able to make that work.

Be gentle, I am very new with mac computers.

Frank Schwieterman

Posted 2013-03-07T22:49:57.817

Reputation: 1 115

Answers

2

Edit:

Either this way: (found here)

"I simply copied "/Applications/Install Xcode.app" from one machine to the other after the first machine downloaded from the App Store ($4.99 version). It worked fine."

Or this way: (found here)

"I am stumped by other answers here - I have just downloaded XCode 4.3.2 for Lion (AFAIK latest at the moment) from this site:

https://developer.apple.com/downloads/index.action

You only need a valid AppleID (free of charge) developer account. No credit card whatsoever."

OakNinja

Posted 2013-03-07T22:49:57.817

Reputation: 169

That solution takes about a day with my wifi connection. Looking for something faster. – Frank Schwieterman – 2013-03-07T23:00:10.913

See my edited answer – OakNinja – 2013-03-07T23:05:08.920

Maybe this is where my "new at mac" kicks in. How exactly would I copy xcode.app across machines? I tried right-click copying the file from /applications to a shared drive, and it complains that it can't copy some files. – Frank Schwieterman – 2013-03-08T19:38:04.887

Try zipping/archiving xcode by using stuffit or http://www.izip.com/ then move it to the virtual machine.

– OakNinja – 2013-03-09T00:17:36.940

Moving the already installed xcode folder might work, but do not expect any command line tools that were included with xcode to work. This might be where your "new at mac" kicks in but it's also where my initial "just install it the regular way" kicks in. Unexpected errors may and probably will occur now or later. – OakNinja – 2013-03-09T00:19:53.723