0

I have just updated my Xcode to 5.1.1 and I am unable to build my project. Xcode gives this error

clang: error: unknown argument: '-fno_objc_arc' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Ahad Khan
  • 411
  • 2
  • 18

1 Answers1

1
clang: error: unknown argument: '-fno_objc_arc'

The flag which you set for disable arc in file is wrong it should be -fno-objc-arc For more reference refer How to disable arc flag?

Community
  • 1
  • 1
Hussain Shabbir
  • 14,801
  • 5
  • 40
  • 56