Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook API - 63 Build Errors

i'm new by working with the Facebook SDK. First i want to build this tutorial: TuT

After i add the SDK and Build i get 63 Errors from the Facebook SDK. Here are Some: Errors

I'm using XCODE 4.2 and iOS 5. Hope anybody can help me.

like image 732
Werewolve Avatar asked Feb 17 '26 13:02

Werewolve


1 Answers

The Facebook SDK hasn't been adopted to support ARC yet. You can try disabling ARC for all files belonging to the Facebook SDK by adding the -fno-objc-arc compiler flag for those files (under Build Phases).

If that doesn't work you'll probably have to disable ARC for the entire project. To do that set Objective-C Automatic Reference Counting to NO (Under Build Settings / All). This is probably the easier way.

like image 149
voidStern Avatar answered Feb 19 '26 04:02

voidStern



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!