Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Any ideas on how to get around installing that huge iOS SDK in Xcode 4.1?

This Q&A suggests to deselect iOS SDK during installation, but the Xcode 4.1 (App Store-Version) Installer seems to have no "Installation Type" Step anymore.

share|improve this question
add comment

3 Answers 3

You can control or right click to show package contents and run only select portions of Xcode 4.1.

The program Pacifist will let you look into the packages to see what each contains.

The installer has changed to remove the options - it's all or nothing. If space is tight on your boot drive, you will have to either install to another volume and move parts back or temporarily free up enough space to install and clean out what you don't want to keep.

share|improve this answer
    
Thx. There are 58 packages there. Quiet daunting task to decide which ones are required for building homebrew software for me. Are there any guidelines? Does the order matter? –  sschober Aug 14 '11 at 18:05
    
Yes - It gets very slow and makes me just install Xcode to an external drive or free up space temporarily, and delete the Platform / SDK folders I don't need on any given mac. –  bmike Aug 14 '11 at 19:28
    
I guess, when i do a selective install like you suggest appstore updates will no longer work? –  sschober Aug 15 '11 at 18:05
    
Yes - if you don't get the overall Xcode package receipt - the software update process might not show you updates. I haven't picked apart this version to know what it looks for - I just do the whole deal and delete things I don't want at the moment. –  bmike Aug 15 '11 at 18:12
add comment
up vote 1 down vote accepted

As it turms out Apple released a commandline tools package recently, which seems to be exactly what I need: Apple Developer Downloads

share|improve this answer
add comment

You can try the following:

  • Right-click on Install XCode.app and choose "Show Package Contents"

  • Browse to Contents->Resources and run Xcode.mpkg

  • Customize your install, leave out the iOS SDK, save 5 GB of disk space

  • Profit?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.