Hi CM,
The sample app is built with the same SDK that you're using, so it has
to be just a configuration issue. Please verify the following:
- when you dragged the LocalFaves project and the LFIncludes folder
into your project, you unchecked the "Copy" checkbox and specified the
link as "Relative to Project"
- You linked the LocalFaves static library to your project. Click the
"LocalFaves.xcodeproj" item that has just been added to the sidebar.
Under the "Details" table, you will see a single item:
libLocalFaves.a. Check the checkbox on the far right of
libLocalFaves.a.
- You added LocalFaves as a dependency of your project, so Xcode
compiles it whenever you compile your project. Expand the "Targets"
section of the sidebar and double-click your application's target.
Under the "General" tab you will see a "Direct Dependencies" section.
Click the "+" button, select "LocalFaves", and click "Add Target".
- You told your project where to find the LocalFaves headers. Open
your "Project Settings" and go to the "Build" tab. Look for "Header
Search Paths" and double-click it. Add the relative path from your
project's directory to the "LocalFaves/src" directory. Make sure the
"recursive" checkbox is checked. (Add the absolute path for now to be
100% you're pointing to the right place, then change it to the
relative path once everything works.)
- In Project Settings, go to "Other Linker Flags" under the "Linker"
section, and add "-ObjC" and "-all_load" to the list of flags.
- Make sure you have the following frameworks in your project:
* MapKit
* CoreLocation
* CoreData
* CoreGraphics
* CFNetwork
* QuartzCore
* SystemConfiguration
* AddressBook