I am new to iOS development so I am not sure why I would get a compilation error here. Hopefully someone can explain. When I import CoreServices I get the following error when I attempt to compile.
Expected declaration specifiers or '...' before 'CFXMLTreeRef'
Can someone help?
#import <CoreServices/CoreServices.h>
The debugger points to this line in WSMethodInvocation.h:
typedef CALLBACK_API( CFTypeRef , WSMethodInvocationDeserializationProcPtr )(WSMethodInvocationRef invocation, CFXMLTreeRef msgRoot, CFXMLTreeRef deserializeRoot, void *info);
I am not using any function from this file.. I am just importing CoreServices and the error pops up. I am attempting to use:
CFStreamCreatePairWithSocketToCFHost