title: iOS 6 - BluetoothManager framework - "NSObject" not found error
body: <p>My question is a duplicate of <a href="https://stackoverflow.com/questions/14069892/bluetoothmanager-framework-nsobject-error?lq=1">this</a> one. But that one (rightly)got closed as non constructive, with zero answer and with absolutely no use to anyone.</p>
  
  <p>I am trying to connect to a external bluetooth accessory from my iPhone 5. The accessory is <strong>neither MFI certified nor support Bluetooth Low energy communication</strong>.</p>
  
  <p>So my only option is to connect to it using a private Framework, and I am doing that since I am not intending to push my app to App store. The app is for personal use. </p>
  
  <p>I am trying to use private BluetoothManager framework class, uses XCode 4.6 and my app is targeting iOS 6.0.</p>
  
  <h2>My current setup</h2>
  
  <ol>
  <li><p>Added a folder named Headers in bluetoothManager framework in sdk
  folder </p>
  
  <blockquote>
    <p>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/PrivateFrameworks/BluetoothManager.framework</p>
  </blockquote></li>
  <li><p>Created 4 header files in that folder, namely</p>
  
  <ol>
  <li>BluetoothAudioJack.h</li>
  <li>BluetoothManager.h</li>
  <li>BluetoothDevice.h</li>
  <li><p>CTStructures.h</p>
  
  <p>I got these header files from <a href="http://iphone-dev.googlecode.com/svn/branches/include-1.2-sdk/include/BluetoothManager/" rel="nofollow noreferrer">here</a>.</p></li>
  </ol></li>
  <li><p>Added BluetoothManager.framework to my project , using normal method
    <code>target-&gt;Build Phases-&gt;Link Binary with Libraries</code> .</p></li>
  <li><p>In my <code>ViewController.h</code> file, I imported the header file</p>
  
  <pre><code>#import "BluetoothManager.h"
  </code></pre></li>
  </ol>
  
  <p>This is it. Simply I am following <a href="http://www.pocketmagic.net/2012/07/bluetooth-and-ios-use-bluetooth-in-your-iphone-apps/#.UQtGe1p25Yi" rel="nofollow noreferrer">this</a> tutorial, but added the steps here just in case the tutorial went down. </p>
  
  <h2>My problem</h2>
  
  <p>I am yet to get into the coding part. When I tried to compile the above given setup, I am getting error</p>
  
  <blockquote>
    <p>NSObject.h file not found</p>
  </blockquote>
  
  <p>in the <code>BluetoothManager.h</code> file I added as header to the framework.</p>
  
  <p>Any ideas?</p>