Skip to content

Setting Up Kiwi 2.x without CocoaPods

Kristopher Johnson edited this page May 29, 2013 · 8 revisions

The recommended means of adding Kiwi to a project is to use the CocoaPods-based setup described in Getting Started with Kiwi 2.0. However, if you would prefer to set up Kiwi without using CocoaPods, you can follow the steps described here.

Summary

These are the steps:

  1. Create an Xcode application project with a unit-test target, or add a unit-test target to an existing project.
  2. Download Kiwi.
  3. Add the Kiwi project to the Xcode workspace.
  4. Add the Kiwi headers directory to User Headers Search Path of the test target.
  5. Add the libKiwi.a static library to the test target.
  6. Add the -all_load or -force_load libKiwi.a option to the Other Linker Flags of the test target.

For more information about setting up a unit-test target, see Apple's Xcode Unit Testing Guide.

Detailed Instructions

See Guide: Up and Running with Kiwi for details of setting up a test project and adding the Kiwi library.