mattrajca/SVGKit — Issue #13: Getting started instructions are wrong for iOS
Author: adamgit
Created: 2011-11-21 16:49:56+00:00
State: open

Instructions say: "drag/drop the iOS and Core folders to your project"

There are additional *REQUIRED* instructions:

1. you MUST edit "Header Search Paths" and add /usr/share/include/libxml2
2. you MUST edit the Build Phases, and add to the Libraries phase: libxml2

Additionally, the current git repos won't build even when you've done that because of a const-error. I'm not sure why the SVGPad example compiles OK with this - I guess you ALSO MUST change the compiler settings to suppress this (which by default is an ERROR in current Xcode):

"SVGKit/Core/SVGUtils.m:164: error: initializer element is not constant"

..NB: variations on that cause over TWO HUNDRED build errors on a new empty iPad project which has merely had SVGKit added to it!