Hi all
I have a source code with Three files:
1 - main.m
2 - methods.h
3 - methods.m
I declare methods in methods.h and put definitions of methods in methods.m.
and create an object in main.m for using methods of the Class.
But when i compiling my source in xcode got this error :
and when methods.m in Build phases -> Compile sources is present got Duplicate symbol error too.
Could you help me?
I have a source code with Three files:
1 - main.m
2 - methods.h
3 - methods.m
I declare methods in methods.h and put definitions of methods in methods.m.
and create an object in main.m for using methods of the Class.
But when i compiling my source in xcode got this error :
Code:
error: -fobjc-arc is not supported on platforms using the legacy runtime
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
and when methods.m in Build phases -> Compile sources is present got Duplicate symbol error too.
Could you help me?