Unsupported compiler 'GCC 4.2' selected for architecture 'armv7' 에러 발생시

 iOS5로 업그레이드 하고, 예전 소스를 실행해보니 

Unsupported compiler 'GCC 4.2' selected for architecture 'armv7'

라는 에러가 발생했다. 해결방법은 다음과 같다.

해당 Project - Build Setting 에서 Build Options의 Compiler for C/C++/Objective-C 부분의 Compiler를

GCC 4.2 이외의 컴파일러로 선택해주면 된다.