Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to transfer Xcode installations between Macs?

Tags:

xcode

I'm going to be away from my home OSX machine and I'm going to be using another one. I won't have good internet connection where I'm going, so I can't download anything from the Mac App Store. Is there a way I can easily transfer over my existing Xcode installation onto a large enough USB flashdrive and reinstall it that way. I know that I can drag and drop, but from my experience from MSVS, compilers and IDEs seems to have multiple dependency files scattered around.

like image 832
user2200321 Avatar asked Jun 15 '13 19:06

user2200321


People also ask

Can you copy Xcode from one Mac to another?

You can copy the Xcode application from /Applications folder of one machine to another machine. No problem , it will work. But i recommend you to copy the xcode to desktop(or some other folder otherthan /Applications ) of the second machine initially and then move to /Applications folder.

How do I transfer Xcode project to another Mac?

Transferring Between MacsOpen Xcode and go to Organiser. Select your team or developer profile on the left toolbar. Click export at the bottom. Type in a useful filename then press save.

How do I share Xcode files?

To do that, right-click on the Remotes folder that is below the project folder on the left pane. Select your GitHub account (or add your GitHub account if you haven't done that already) and complete other details about your new remote. Now you are ready to start sharing your code with teammates.

Where does Xcode get installed on Mac?

In Finder, select the Go pull-down menu, and select Applications. Or just use the short-cut key Command-Shift-A while Finder is active. This should open a new Finder window, showing all the Applications installed on your machine. Look for the XCode icon in the Applications folder.


2 Answers

When you use Xcode 4 everything you really need, is in the Xcode.app bundle in your Applications folder. You can just copy this to your new computer.
If you want you can also copy ~/Library/Developer/Shared/Xcode where plug-ins may reside.
An other interesting folder is ~/Library/Developer. There are amongst others Docsests, iOS device logs, etc. stored. You may take a look yourself in there, to see if you need to copy this.

like image 57
JDS Avatar answered Sep 24 '22 21:09

JDS


Steps

1- Copy Xcode.app file and paste to new mac's Application folder

2- Copy ~/Library/Developer/ to new mac's location ~/Library/Developer/ folder

3-

Issue - Xcode won't start, stuck on 'Verifying “Xcode”…'

Solution xattr -d com.apple.quarantine '/Applications/Xcode.app'

By running the above command, you are giving permission to Xcode to install it without verifying it.

4- open Xcode in the Application directory.

Cheers !!!!

like image 42
Muhammad Noman Avatar answered Sep 21 '22 21:09

Muhammad Noman