I was having a lot of problems with the facebook SDK. I've managed through them whole except these two problems:
Facebook.m:52:9: error: existing ivar '_sessionDelegate' for unsafe_unretained property 'sessionDelegate' must be __unsafe_unretained [4]
And the second:
FBDialog.m:47:13: error: existing ivar '_delegate' for unsafe_unretained property 'delegate' must be __unsafe_unretained [*4]
What could be the problem?
This has nothing to do with Facebook per se. This is just about how to declare an id using the Automatic Reference Counting memory model. You can set these to not use ARC in the Build Phases, Compile Sources for your target by adding the flag -fno-objc-arc @Rayfleck
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.