So I am trying to integrate the facebook iOS api into my iphone app. I copied the src folder to my project and disabled AR with: ‘–fno-objc-arc’ to all the new files since my project has ARC enabled. The problem is that I am still getting this error and I can’t figure out how to solve it. I have been spending the last two days trying to solve this and searched everywhere so any help would be VERY much appreciated.

The FB SDK files I added to my project:


got to say, this API is not so friendly overall…
If you actually copied the parameter to disable ARC (–fno-objc-arc) from Xcode, you may notice that you use the en dash (–) instead of the regular – in the beginning, try -fno-objc-arc.