RestKit/RestKit — Issue #501: Install of master no longer reflected in Wiki
Author: sirvine
Created: 2012-01-11 22:46:24+00:00
State: open

The visual installation instructions at https://github.com/RestKit/RestKit/wiki/Installing-RestKit-in-Xcode-4.x no longer reflect the actual installation experience.

It took me some time to understand why the target dependencies looked different (i.e., no bullseye aggregate target, and no static libraries). As it turns out, I needed to get off master and check out the 0.9.3 tag in order to see what is shown in the Wiki installation instructions (and in order to successfully build the project).

For anyone else experiencing similar issues, the solution is:

1. From your terminal, cd to the cloned RestKit directory in your project's directory. (You may need to waive off RVM warnings here, if you use RVM – I pressed 'y' without understanding the issue :P )

2. Once in the RestKit directory, `git tag -l` to make sure you're in the right place. You should see a list of tags from 0.9.0 through 0.9.3.

3. `git checkout 0.9.3`

4. Back in XCode, repeat the Build Phases > Target Dependencies step, and the Build Phases > Link Binary With Libraries step. This time you should see options that look like the screenshots in the Wiki.

Should I install master instead? If so, how? Thanks!