Install and setup libusb 1.0 on Mac OS X

If you use Homebrew, installing libusb from the Formula is as simple as

brew install libusb

Usage in Xcode

Using libusb in an Xcode project is easy:

  • Project Settings → Your Target → Build Phases → Link Binary with Libraries and add libusb-1.0.dylib.
  • Project Settings → The Project → Header Search Paths → add the /usr/local/include.

That's it.