PulledBull
PulledBull

Reputation: 995

Xcode : UNIX Command-Line Tools Installation

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?

Upvotes: 0

Views: 2126

Answers (2)

victor
victor

Reputation: 1

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

Upvotes: 0

Robert Conn
Robert Conn

Reputation: 877

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

Upvotes: 2

Related Questions