I downloaded the arcified branch of LRResty and imported the files into my Xcode project.
On build, I'm seeing these warnings :
-Implicit declaration of function 'DEFINE_SHARED_INSTANCE_USING_BLOCK' is invalid in C99
-Control reaches end of non-void function
They relate to this function in LRResty.m:
+ (LRRestyClient *)client;
{
DEFINE_SHARED_INSTANCE_USING_BLOCK(^{
return [self newClient];
});
}
This then results in a linker error:
Undefined symbols for architecture i386:
"_DEFINE_SHARED_INSTANCE_USING_BLOCK", referenced from:
+[LRResty client] in LRResty.o
ld: symbol(s) not found for architecture i386
Have I done something wrong? Are there any prerequisites that I've missed (I can't see any documented anywhere), e.g. minimum iOS target version (mine is 4.0), frameworks to link with, etc?
The All-Seeing I post (http://allseeing-i.com/%5Brequest_release%5D) said this arcified branch is an active project. Is it?
Thanks!