Undefined symbols for armv7 architecture for FBSDKLoginCore

I recently encountered this error when trying to implement Facebook Login using the Parse SDK and Facebook SDK.

I have taken the following steps:

enter image description here

The following frameworks were imported

enter image description here

Listed them under the heading of the bridge

enter image description here

After creating the project, I get the following errors.

The solutions I tried:

-Removing -ObjC from "Other Linkers" and adding $ (legacy) -Changing the architecture to "STANDARD" -selecting libz.1.2.5.dylib creating and running

I'm not sure what I'm doing wrong.

UPDATE:

Here is my command line on request.

enter image description here

+6
source share
1 answer

Tell us about your order. LoginKit requires characters from CoreKit, but cannot find them due to the incorrect order of links. This is why you get the Undefined symbols error message.

Solution: Reverse link order.

Go to your goal in Xcode -> Build Phases -> Link the binaries to the libraries and then drag these two libraries. :)

+1
source

All Articles