For testing I copied following sample code [https://developer.apple.com/library/ios/documentation/CoreFoundation/Conceptual/CFCollections/Articles/creating.html] and compiled it:
#import <CoreFoundation/CoreFoundation.h>
CFStringRef strs[3];
CFArrayRef anArray;
strs[0] = CFSTR("String One");
strs[1] = CFSTR("String Two");
strs[2] = CFSTR("String Three");
anArray = CFArrayCreate(NULL, (void *)strs, 3, &kCFTypeArrayCallBacks);
Now I got following error: "No matching function for call to CFArrayCreate"
Why it is not compilable and how to implement it that it is compilable?