0

I'm trying to install MacPorts but it needs command-line support to be installed with Xcode (which is an option during installation)

is there any way I could install UNIX command line support with Xcode without re-installing Xcode?

1
  • 1
    You might as well just re-install Xcode (and upgrade to the most recent version 3.2.x while you're at it). Commented Jun 19, 2010 at 8:57

2 Answers 2

2

Reinstalling Xcode is non destructive so best to just do that. Your projects will all still be available.

Sign up to request clarification or add additional context in comments.

Comments

0

There are a lot of packages in Xcode

apple sign-on to download

http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg

to-do additional installer flag

 [-showChoicesXML] [-applyChoiceChangesXML <pathToFile>]
 [-showChoicesAfterApplyingChangesXML <pathtoFile>]

install (use gui, cli still incomplete /Developer/Library, etc.)

hdid ~/Downloads/xcode_3.2.6_and_ios_sdk_4.3.dmg
sudo installer -verbose -target / /Volumes/Xcode\ and\ iOS\ SDK/Xcode\ and\ iOS\ SDK.mpkg
sudo umount -f /Volumes/Xcode\ and\ iOS\ SDK

confirm

xcodebuild -version

uninstall

sudo /Developer/Library/uninstall-devtools –mode=all

1 Comment

better yet ... see commandlinefu.com/commands/view/2031/… for CLI related commands

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.