groue/GRMustache — Issue #13: Crashes on OSX 10.7
Author: jasperblues
Created: 2012-03-02 07:17:06+00:00
State: open

Was able to run iOS tests, tried running OSX Tests - would not compile.

Tried running simple example:

SPEC_BEGIN(MustacheSpec)

it(@"should render templates", ^{

NSString* templateString = @"Hello {{name}}!";
FieldSchema* fieldSchema =
[[FieldSchema alloc] initWithName:@"FirstName" class:@"StringEx" label:@"Customer First Name"];

LogDebug(@"OK, render");
GRMustacheTemplate* template = [GRMustacheTemplate templateFromString:templateString error:NULL];

LogDebug(@"Render: %@", [template renderObject:fieldSchema]);

});

SPEC_END

. . . crashed on the render call.