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

Since re-installing OS X (10.8), every time I plug in an iOS device iTunes opens up and shows an error message:

iTunes could not connect to the iPhone "..." because it is locked with a passcode. You must enter your passcode on the iPhone before it can be used with iTunes.

I plug in various devices all the time, just so I can charge them. I do not want them connected to iTunes, I definitely don't want iTunes storing a copy of the device's passcode (or however that works) on my mac, and some of the devices plugged in aren't even mine.

How can I stop this from happening? It doesn't happen when I'm booted into 10.7 on the same mac, with the same iOS devices.

I already have "Prevent iPods, iPhones, and iPads from syncing automatically" enabled in Preferences.

EDIT: this particular device also has "Open iTunes when this device is connected" turned off, so it seems to ignore that setting.

share|improve this question
up vote 29 down vote accepted

Under SettingsUsers → [you] → Login Items → select iTunesHelper, then click the minus sign and log out/into your Mac.

No devices will cause iTunes to launch (that's the whole purpose of iTunesHelper).

share|improve this answer
Thanks, I'll try that – Abhi Beckert Feb 14 '13 at 20:03
Hiding iTunesHelper or clicking the minus sign didn't work for me. Do you have to restart your computer or log out? I also tried unlocking/locking (click the lock icon) on this same screen but that had no effect. Mac 10.7.5 iTunes 11.1 – tim peterson Oct 13 '13 at 16:33
@timpeterson yes you'll need to log out. Also I think iTunes might occasionally put it back. >:( – Abhi Beckert Oct 13 '13 at 20:30

In iTunes there is an option to prevent the app to launch when a device is connected to your computer.

Open iTunes > Clic on a device in the sidebar > Scroll down to the "Options" section.

Then you have to make sure this little checkbox is un-check: itunes option

If the problem still occurs after that, come back here !

share|improve this answer
That was already unchecked. Also, I need this to work on other people's devices as well including ones where they might have this setting enabled. As part of my work, I regularly plug other people's devices into my mac. – Abhi Beckert Jul 26 '12 at 0:26
I Think that this settings is save for your computer only and it don't affects other computer, but i might be wrong. – Lifely Jul 26 '12 at 9:16
It was already turned off and I just did a clean install. So it must be stored on the device. – Abhi Beckert Jul 27 '12 at 3:26

Open iTunes -> Preferences -> Devices.

Make sure Prevent iPods, iPhones, and iPads from syncing automatically option is checked.

enter image description here

enter image description here

share|improve this answer
This does not answer the OP's question. The OP has already stated in their question that this checkbox is already checked and yet the issue still persists. – Greenonline Feb 2 at 3:34

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.