I've inherited an iOS project and can't even get it to build. I keep getting the following error:
ld: file not found: -ObjC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've seen posts about the 'file not found' error but none pertaining to the '-ObjC' bit that looks like a switch.
Any ideas?
Thanks everyone, I managed to sort it.
@Droppy pointed me in the right direction.
Before the
-ObjCflag there was another called-force_all. I then stumbled across this answer which indicated that you only need the-ObjCflag. I removed-force_alland it started to work!