Facebook iOS integration

Hello I have got the Facebook SDK integrated into my Unity game right now with this plugin: https://www.assetstore.unity3d.com/#/content/10989 I want to make my game for iOS and when I build the Xcode project I get an error. Has anyone used Facebook in their iOS games? What is the preparation process in Xcode? What architectures do you use? What iOS version do you use? What frameworks do you need? The documentation for Facebook is not the best, so any help is greatly appreciated.

Use the latest version of the SDK

it should automatically work with Xcode.