Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install xcode 4.1 with lion. Apparently at 3/4 of the installation problem, it says to close itunes, which is not open. How can I fix the problem?

share|improve this question

Use Activity Monitor, and locate the iTunes Helper process and kill it. As per an Apple support discussion and several other sources.

Update: The latest Xcode installer has been fixed and this should not be an issue now.

share|improve this answer
Yup. Also had to do this on a clean install of Lion for XCode to complete installing. It's a known bug in the installer that hasn't been fixed. – daveangel Jul 29 '11 at 5:18

There is also a bug in the Install Xcode 4.1 in regard to detecting that iTunes Helper is running. This has been fixed with Install Xcode 4.1.1 which you can get as a delta Update from the Mac AppStore.

share|improve this answer

I encountered this problem with Xcode as well. The solution I found was that iTunes was open in another account. iTunes must be quit in all acounts to complete the installation. Also make sure that you quit iTunes(command q)not just close all the windows. Those are the two most likely reasons for that error message.

share|improve this answer

Your Answer


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.