Why am I getting an error regarding Bolts framework and FacebookSDK when I'm not even using Bolts?

后端 未结 8 1553
面向向阳花
面向向阳花 2021-02-02 07:04

Getting this error

framework not found Bolts for architecture x86_64

Followed Facebook\'s guide word for word, but the only place I can think o

相关标签:
8条回答
  • 2021-02-02 07:08

    you need to add Bolts.framework to your project

    0 讨论(0)
  • 2021-02-02 07:08

    In my case I opened the project instead of the workspace (using pods)

    0 讨论(0)
  • 2021-02-02 07:11

    Go to Build Settings of your project.
    Search for Framework Search Paths.
    Add to debug: "$(inherited)".
    Do the same for release.
    Re-build the project.

    Hope it helps!

    0 讨论(0)
  • 2021-02-02 07:19

    Late but might help - add Bolts.Framework - also remember to do as warnings shown during installation

    0 讨论(0)
  • 2021-02-02 07:25

    As of 24th of April 2019, the Facebook SDK in Swift repo inside this commit:

    Removed Bolts from Swift SDK

    So you will have to add Bolts to your pod file. FYI if you're using Swift 5 you will need to use the Bolts in Objc because currently Bolts for Swift only support Swift 4.1.

    For Swift 5 in your pod file:

    pod 'Bolts'
    

    To answer your question, from Bolts GitHub:

    Bolts is a collection of low-level libraries designed to make developing mobile apps easier. Bolts was designed by Parse and Facebook for our own internal use

    EDIT / UPDATE:

    It looks like Bolts for Swift now support Swift 5.

    0 讨论(0)
  • 2021-02-02 07:29

    You can just do pod update and then open your xcworkspace. Fixed it for me.

    0 讨论(0)
提交回复
热议问题