7 | | If you are upgrading to Xcode 4.3, you also need [[BR]] |
8 | | 1. to run `sudo xcode-select -switch /Applications/Xcode.app`[[BR]] |
9 | | 2. launch Xcode once to accept its license,[[BR]] |
10 | | 3. In Xcode, go to "Xcode > Preferences > Downloads > Components > Command Line Tools" and install it,[[BR]] |
11 | | 4. edit macports.conf with `sudo nano /opt/local/etc/macports/macports.conf` and from |
| 7 | If you are upgrading to Xcode 4.3, you must [[BR]] |
| 8 | 1. select the new Xcode |
| 9 | {{{ |
| 10 | `sudo xcode-select -switch /Applications/Xcode.app` |
| 11 | }}} |
| 12 | 1. launch Xcode once to accept its license, |
| 13 | {{{ |
| 14 | `open /Applications/Xcode.app` |
| 15 | }}} |
| 16 | 1. In Xcode, go to "Xcode > Preferences > Downloads > Components > Command Line Tools" and install it, or [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=21047 download it separately]. |
| 17 | 1. Edit macports.conf |
| 18 | {{{ |
| 19 | `sudo nano ${prefix}/etc/macports/macports.conf` |
| 20 | }}} |
| 21 | and change |