I moved a project originally coded in XCode 4.2 to XCode 4.5 and now I am getting the following warning when i build -

The compiler configuration is set to 'com.apple.compilers.llvmgcc42'. This will upgrade to 'Apple LLVM compiler 4.1', which is recommended setting for iOS targets'

I am unable to understand what versions of compilers are being referred. I searched for compiler version, but I am still confused between the terms "Apple LLVM" and "LLVM GCC". Pls help.

有帮助吗?

解决方案

Following are steps to overcome this warning

  1. Just Click on Project Target.
  2. Build Settings > Build Options.
  3. GCC_VERSION: < Select "Default compiler (Apple LLVM compiler 4.1)" or preferred one >
  4. Clean and build your app

EDIT

For your doubt about difference , I would like you to take a look at the following links.

  1. Link 1
  2. Link 2
  3. Link 3

Hope this helps.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top