Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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'm trying to install the command line tools to get gcc, make, and other goodies after a Lion upgrade. I went to Preferences → Downloads in Xcode and attempted to install the command line tools. At the end of the installation, an error box appears with the following message:

The package “BluetoothSDK.pkg” is untrusted.

When I open up a terminal window and try to run gcc, the command is still not found.

Does anyone know why the Apple Developer Tools installer is broken?

share|improve this question
Hmm - that could be the cause, but have you had a look at the installation log? When installer is running, you can type command+L and command+3 to show both the log window and all log messages. Perhaps some additional data will help us help you. – bmike Mar 17 '12 at 23:08
up vote 7 down vote accepted

Just in case anybody comes here after me, I will leave an answer. I found that you can install the command line tools using a separate .dmg file at this link:

share|improve this answer

By looking at /var/log/system.log just after the attempt to install the command line tools from within Xcode, here is the error message you get:

May  1 19:50:13 ••My_Mac•• Xcode[4711]: [MT] DVTAssertions: Warning in /SourceCache/IDEKit/IDEKit-2113/Framework/Classes/Downloadables/IDEDownloadablesActivityReporter.m:76
        Details:  Error Domain=PKInstallErrorDomain Code=102 "The package “BluetoothSDK.pkg” is untrusted." UserInfo=0x400c91e00 {NSLocalizedDescription=The package “BluetoothSDK.pkg” is untrusted., NSURL=file://localhost/private/var/folders/b5/1x0nn19j48l8x21shmcppq3m0000gn/T/attached-image-785d03d028219ec5426def5c3a84ea4de0c91e9e/Command%20Line%20Tools%20(Lion)/Packages/BluetoothSDK.pkg,, NSUnderlyingError=0x401ec3900 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED"}
        Method:   +initialize
        Thread:   {name = (null), num = 1}
        Please file a bug at with this warning message and any useful information you can provide.

This error message means that the certificate signing BluetoothSDK.pkg is expired.

An independant version of the Command line Tools may be downloaded from here: Download for Apple Developers by searching for "Command Line Tools (OS X Lion)" and selecting the last one (Apr 15, 2013): Command Line Tools (Os X Lion)

share|improve this answer

If you want to use the install in preferences, you can change the date for 2012 and it works :).

You do have to start the install with an accurate date first, or else you will get an error about an invalid server. So bring up time preferences, click install in xcode, then within 30 seconds adjust the year in time preferences. Then install succeeds.

share|improve this answer
Woah - so it's just that one cert bundled in the package has "now expired" but it otherwise good to go? If so, great work @leorleor and jojo – bmike Nov 27 '15 at 17:07

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.