Swift: Apple Mach-O linker error

I am working on Parse / Facebook login which is giving me the following error:

Undefined symbols for x86_64 architecture: "_FBSDKAccessTokenDidChangeNotification", referenced by:

There are over 60 such errors, I don't know why they appear, since this code works in another project. I copied some code and it started, any advice?

+3


source to share


2 answers


Check if there is a part import

copied to your new project as well as dependencies.



When it says undefined characters, it means the function _FBSDKAccessTokenDidChangeNotification

could not be found at compile time, which usually means the corresponding framework / SDK / library was not there.

+1


source


While I'm not sure what caused this problem, the following solution cleared up the error messages:



Go to the app home page (in the navigation article on the left, click on your app name or in the top section) -> Build Settings and under the Linker flags, make sure there is nothing in the other other linker flags

+1


source







All Articles