title: OS X Bluetooth programming
body: <p>I want to create OS X app to work with Lego Mindstorms NXT 2.0 via Bluetooth.</p>
  
  <p>I tried to make it with Objective C and Python, but there are some problems with both.</p>
  
  <p>About Objective C:</p>
  
  <p>I only found <a href="https://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/Bluetooth/BT_Intro/BT_Intro.html" rel="nofollow">this</a> documentation. There is told about configuration with plist-file, but example of such plist file is not provided, only some data on figure. Where to get it? Maybe I'm doing something wrong? Also, there are some references to /Developer directory, which does not exist.</p>
  
  <p>About Python:</p>
  
  <p>I found <a href="http://code.google.com/p/nxt-python/" rel="nofollow">nxt-python</a>, but it does not work well with 10.7. I tried to install <a href="http://lightblue.sourceforge.net/" rel="nofollow">lightblue</a>, doing everything with instructions for 10.6, it just stops when running setup.py 
  Output:</p>
  
  <pre><code>running install
  running build
  running build_py
  running install_lib
  running install_egg_info
  Removing /Library/Python/2.7/site-packages/lightblue-0.4-py2.7.egg-info
  Writing /Library/Python/2.7/site-packages/lightblue-0.4-py2.7.egg-info
  </code></pre>
  
  <p>Same thing with PyBluez.</p>
  
  <p>What could you recommend?</p>