To build for distribution, simply run ./build.sh. It will create a fat binary
for i386 & armv7, copy over the necessary resources, and make a tarball.
Follow these instructions to set up the SDK for development alongside an iOS
project. See the dev branch of the example project for an example of this
setup using a submodule to manage the SDK.
- Run XCode 4.2+
- Have your project inside an XCode workspace
- Download the SDK and drag it into your workspace (or check it out using a git submodule)
- Add
libUserVoice.aunder theLink Binary With Librariesbuild phase - Set
User Heading Search Pathsto$(BUILD_PRODUCTS_DIR) - Set
Always Search User PathstoYes - Add
-ObjCtoOther Linker Flags - Drag the
Includegroup from the SDK into your projectCreate groups for any added subfoldersshould be selected- Uncheck any targets
- You may want to rename the group something like
UVHeaders
- Drag the
Resourcesgroup from the SDK into your projectCreate groups for any added subfoldersshould be selected- Add to your target
- You may want to rename the group something like
UVResources