Skip to content

Installation Troubleshooting

blakewatters edited this page Sep 4, 2011 · 9 revisions

If you are having trouble with your RestKit installation, try the troubleshooting steps below...

Problem: #import <RestKit/RestKit.h> Fails

If the import of the RestKit header fails, your project may not be building using the Derived Data directory. Beginning with Xcode 4.0, projects and workspaces can place their build products into a common tree of directories outside of the project source tree. RestKit leverages this build environment to provide header include paths.

Solution: Reconfigure Your Build Location

Select the File > Project Settings… menu item to open the project settings sheet:

Open Project Settings

A sheet will appear containing a Build and a Snapshots tab. On the Build tab, select the Advanced… button: Open Project Settings

A new sheet will appear containing a pop-up menu for the Build Location. Select the Derived Data Location from the menu and then press the Done button to dismiss the sheet.

Open Project Settings

Problem: My Code Completion Stopped Working