Gaurav Gaurav - 18 days ago 20
iOS Question

Linker Command Failed Facebook Sdk

I am new to iOS and trying to implement Facebook SDK in a project using AppGuru Facebook integration in Swift tutorial. But I am facing this linker command error while building my app:


error is framework not found Bolts for architecture x84_64(linker command failed with exit code 1)


Here is a screenshot:

screenshot

Answer

Download demo project with facebook login from below URL. you have to configure your facebook app id.

Download

You have to import this 3 frameworks in your project.

Check on this

Framework search path - add below line

$(PROJECT_DIR)/Projectname/FacebookSDK

Also check, bolts, core and login kit of facebook has to be in build phase -> Link binary with libraries

enter image description here