-- iOS (iPhone)

Automatic Reference Counting과 -fno-objc-arc

어린왕자악꿍 2012. 12. 6. 14:41
프로젝트를 Automatic Reference Counting 모드로 개발할 때, 외부의 소스 (facebook연동)를 추가하여 작업할 경우가 있다.

외부의 소스는 Automatic Reference Counting 모드로 개발되지 않았을 경우, 해당 파일들에 대해 에러가 발생하는데, 이럴 경우 아래와 같이 컴파일 옵션을 지정하면 해결된다.

TARGETS
(Project Name)
Build Phases
Compile Sources
(에러나는 파일의 Compiler Flags) : -fno-objc-arc