Getting Started: Using FuffrLib
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:
- Open your application in Xcode.
Make sure that no other application that includes FuffrLib is open in Xcode.
From the Finder, drag and drop the file FuffrLib.xcodeproj into the Xcode Project Navigator.
Select your project (the topmost entry) in the Project Navigator and select tab Build Settings.
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)"
Under Linking/Other Linker Flags, enter the following in the Debug and Release fields:
Next select tab Build Phases.
Under Target Dependencies, click + (plus) and add FuffrLib.
Under Link Binary With Libraries, click + (plus) and add libFuffrLib.a.
For more information about using libraries, see the iOS Developer Library Documentation.