You only need to read the following if you wish to use Fuffr with your existing apps. The examples that come with Fuffr are already set up properly.

FuffrLib is an Xcode library you can add to your own iOS applications to Fuffr enable them.

Note that the example apps already are set up to use FuffrLib. You can just run them out-of-the-box.

To include FuffrLib into your own apps (existing or new ones you create from scratch), follow these steps:

  1. Open your application in Xcode.

Make sure that no other application that includes FuffrLib is open in Xcode.

  1. From the Finder, drag and drop the file FuffrLib.xcodeproj into the Xcode Project Navigator.

  2. Select your project (the topmost entry) in the Project Navigator and select tab Build Settings.

  3. Under Search Paths/Header Search Paths, enter the following in the Debug and Release fields (make sure to include also the quote marks):

    "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(BUILT_PRODUCTS_DIR)"

  4. Under Linking/Other Linker Flags, enter the following in the Debug and Release fields:

    -ObjC

  5. Next select tab Build Phases.

  6. Under Target Dependencies, click + (plus) and add FuffrLib.

  7. Under Link Binary With Libraries, click + (plus) and add libFuffrLib.a.

For more information about using libraries, see the iOS Developer Library Documentation.