I’m having this implementation
@implementation XC
- (void) g
{
NSString * appSpecificDirectory = [NSString stringWithString:@"x"];
}
@end
It gives this error in my project
error: no known class method for selector 'stringWithString:'
120 | NSString * appSpecificDirectory = [NSString stringWithString:@"x"];
However it works just fine if I use a random objective C compiler.
Any idea what are the possible causes?