Automatic Reference Counting과 -fno-objc-arc

-- iOS (iPhone) 2012. 12. 6. 14:41
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
프로젝트를 Automatic Reference Counting 모드로 개발할 때, 외부의 소스 (facebook연동)를 추가하여 작업할 경우가 있다.

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

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

'-- iOS (iPhone)' 카테고리의 다른 글

Custom URL 지정  (0) 2012.12.06
UIColor를 RGB로 입력하기  (0) 2012.12.06
AppDelegate의 정의된 함수 설명  (0) 2012.12.06
unrecognized selector sent to instance  (0) 2012.11.23
XCode static library 생성  (0) 2012.11.22
posted by 어린왕자악꿍