title: How to install either pybluez or LightBlue on OSX 10.9 (Mavericks‎)
body: <p>I have tried to install both of pybluez and LightBlue on OSX10.9 but I am getting error. 
  Does anyone has managed to install any of these on Mavericks?</p>
  
  <p>I am getting this error for LightBlue : </p>
  
  <pre><code>    === BUILD TARGET LightAquaBlue OF PROJECT LightAquaBlue WITH CONFIGURATION Release ===
  
  Check dependencies
  error: There is no SDK with the name or path '/Users/myname/Downloads/lightblue-0.4/src/mac/LightAquaBlue/macosx10.6'
  
  ** INSTALL FAILED **
  
  
  The following build commands failed:
      Check dependencies
  (1 failure)
  </code></pre>
  
  <hr>
  
  <p>and I am getting this error for pyBluez : </p>
  
  <pre><code>    osx/_osxbt.c:676:5: error: unknown type name 'IOBluetoothDeviceInquiryRef'; did you mean 'IOBluetoothDeviceRef'?
  
      IOBluetoothDeviceInquiryRef inquiry;
  
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  
      IOBluetoothDeviceRef
  
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:34:47: note: 'IOBluetoothDeviceRef' declared here
  
  typedef struct OpaqueIOBluetoothObjectRef *                     IOBluetoothDeviceRef;
  
                                                                  ^
  
  osx/_osxbt.c:688:17: error: unknown type name 'IOBluetoothDeviceInquiryRef'; did you mean 'IOBluetoothDeviceRef'?
  
                  IOBluetoothDeviceInquiryRef inquiryRef,
  
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  
                  IOBluetoothDeviceRef
  
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:34:47: note: 'IOBluetoothDeviceRef' declared here
  
  typedef struct OpaqueIOBluetoothObjectRef *                     IOBluetoothDeviceRef;
  
                                                                  ^
  
  osx/_osxbt.c:703:19: warning: implicit declaration of function 'IOBluetoothDeviceInquiryCreateWithCallbackRefCon' is invalid in C99 [-Wimplicit-function-declaration]
  
      dd-&gt;inquiry = IOBluetoothDeviceInquiryCreateWithCallbackRefCon (&amp;dd);
  
                    ^
  
  osx/_osxbt.c:703:17: warning: incompatible integer to pointer conversion assigning to 'IOBluetoothDeviceRef' (aka 'struct OpaqueIOBluetoothObjectRef *') from 'int' [-Wint-conversion]
  
      dd-&gt;inquiry = IOBluetoothDeviceInquiryCreateWithCallbackRefCon (&amp;dd);
  
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  osx/_osxbt.c:705:5: warning: implicit declaration of function 'IOBluetoothDeviceInquirySetCompleteCallback' is invalid in C99 [-Wimplicit-function-declaration]
  
      IOBluetoothDeviceInquirySetCompleteCallback (dd-&gt;inquiry,
  
      ^
  
  osx/_osxbt.c:717:5: warning: implicit declaration of function 'IOBluetoothDeviceInquiryStart' is invalid in C99 [-Wimplicit-function-declaration]
  
      IOBluetoothDeviceInquiryStart (dd-&gt;inquiry);
  
      ^
  
  osx/_osxbt.c:721:5: warning: implicit declaration of function 'IOBluetoothDeviceInquiryDelete' is invalid in C99 [-Wimplicit-function-declaration]
  
      IOBluetoothDeviceInquiryDelete (dd-&gt;inquiry);
  
      ^
  
  5 warnings and 2 errors generated.
  
  error: command 'gcc' failed with exit status 1
  </code></pre>