What command should I issue after writing these 3 files?
gcc -o MC main.m
gcc -o MC MyClass.m
I am getting
"...Foundation/NSObject.h: No such file or directory...cannot find interface declaration for NSObject..."
when I execute above commands.
Both errors are from MyClass.h file.
Someone please help!
PS: I was able to run a basic .m file which did not have NSObject in it.
View All Comments
| View Tutorial