#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
int main(int argc, const char * argv[])
{
@autoreleasepool {
NSImage *target = [[NSImage alloc]initWithSize:NSMakeSize(128,128)];
}
return 0;
}
[/st.koda]
//nedeluje javi mi napako ko zelim
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSImage", referenced from:
objc-class-ref in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
je mogoce ze kdo resil tale problem!