Reputation: 107
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:
Upvotes: 3
Views: 3115
Reputation: 9898
Download demo project with facebook login from below URL. you have to configure your facebook app id.
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
Upvotes: 7
Reputation: 1
Copy the frameworks into the project but, unlike what Facebook tutorial suggests, select "Copy items into destination group's folder". I did that and it worked fine for me.
Upvotes: 0
Reputation: 541
When using the AWS Mobile SDK for iOS and Facebook SDK together, you should not import Bolts.framework in your project. If you remove it, it should compile.
Upvotes: 0
Reputation: 494
I had the same error. I deleted the ParseFacebookUtils.framework
library from my project and kept only the ParseFacebookUtilsV4.framework
.
Upvotes: 0
Reputation: 3588
Follow steps -
project setting
pageyour project
(left side)Build Settings
tabBitcode
Enable Bitcode
to No
Upvotes: 1