FYI for anyone having issues building the SGRenderTouch project on Xcode 4.2 on Snow Leopard:
-No deployment target set: Set deployment target to 4.2 on project summary page.
-MROGeometry files missing: Download frm git hub and place in directory shown in project.
-libxml2.2.dylib was not found. Located path at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/usr/lib/
-Error SVGRenderTouch.pch has been modified since the precompiled header was built. Menu, Product, Clean fixed.
-CGPathReader line causing an error
PathParser *p = [alloc (PathParser) init];
Changed to
PathParser *p = [[PathParser alloc] init];
-Same kind of thing in PathParser.m
PathBuilder *pb = [[alloc (PathBuilder) initwithTrafo:trafo] autorelease];
replaced with
PathBuilder *pb = [[[PathBuilder alloc] initwithTrafo:trafo] autorelease];
-In PathParser.m commented lines:
//DEBUG_TIMER_START();
//DEBUG_TIMER_LOG();
as they caused errors in PathParser.rl I didn't understand
-In GraphicFrag.h removed 'const' from beginning of line
const enum TRANSFORMATION_TYPE {TRANS,ROT,SCALE,AFFINE};
to get rid of warnings.
Project ran fine after these changes.
Would like to know if any of these changes will cause problems later?
If not they are listed for those new to apple development to save some time.