Facebook SDK에 많은 문제가있었습니다.Facebook SDK (iPhone 개발자)
Facebook.m:52:9: error: existing ivar '_sessionDelegate' for unsafe_unretained property 'sessionDelegate' must be __unsafe_unretained [4]
둘째 :
FBDialog.m:47:13: error: existing ivar '_delegate' for unsafe_unretained property 'delegate' must be __unsafe_unretained [*4]
어떤 문제가 될 수 나는이 두 가지 문제를 제외하고 그들을 통해 전체를 관리했습니다 ?
이것은 Facebook 자체와는 아무런 관련이 없습니다. 이것은 Automatic Reference Counting 메모리 모델을 사용하여 ID를 선언하는 방법입니다. -fno-objc-arc – Rayfleck
Ray 플래그를 추가하여 빌드 단계, 타겟 소스 컴파일에서 ARC를 사용하지 않도록 설정할 수 있습니다.이를 답으로 입력해야합니다. – Eugene
@ Rayfleck 그것이 효과가있다! 정말 고맙습니다! –