Linking Libraries in Xcode

To link to a .a library like this in Xcode you need to:

  • Double-click on your target or application in Xcode to open the Info window

  • Switch to the “Build” tab

  • Add -lfftw3 to “Other Linker Flags” (under “Linking”)

  • Add the path to your library to the “Library Search Paths” (under “Search Paths”). In your case this will be /usr/local/lib

We use FFTW (it’s great by the way), this works for us!

Leave a Comment