Search code examples
ioszxinggcc-4.2

Error : Unsupported compiler 'GCC 4.2' selected for architecture 'i386'


I have downloaded zxing sdk. in that their a sample code called scantest i am trying to run that sample code in xcode 4.6.2 but it give me error.

"Unsupported compiler 'GCC 4.2' selected for architecture 'i386'"

i am trying i am not getting solution for it.


Solution

  • You are not adding correct compiler in build Setting.

    You add (Apple LLVM 4.2 Compiler)Goto Build Setting And select this Compiler...

    try this one...