Xcode build failure “Undefined symbols for architecture x86_64”

It looks like you are missing including the IOBluetooth.framework in your project. You can add it by:

  • Clicking on your project in the upper left of the left pane (the blue icon).
  • In the middle pane, click on the Build Phases tab.
  • Under “Link Binary With Libraries”, click on the plus button.
  • Find the IOBluetooth.framework from the list and hit Add.

This will make sure that the IOBluetooth.framework definitions are found by the linker. You can see that the framework is a member of your target by clicking on the framework in the left pane and seeing the framework’s target membership in the right pane (note I’ve moved the framework under the Frameworks group for organization purposes):

Leave a Comment