0

For some reason I get this error "Apple Mach-O Linker Error [Linker command failed with exit code 1]" when building the project after I add the code lines to the AppDelegate file. It builds perfectly until then.

Screenshot of the error message

I also tested the Scrumptious app that comes in the FacebookSDK folder as a tester, and it gave me the same error.

Thus, I think it might be some problem with the installation of the sdk into Users/{username}/Documents/FacebookSDK. I literally just download the zip file Facebook provided, unziped, named it to FacebookSDK and pasted this folder in /Documents

Please, any help will be much appreciated!

1 Answers1

0

If your app doesn't support BitCode, you need to install an old version released at August 13th, 2015 which is named FacebookSDKs-iOS-20150813.zip

More info here: Linker Error in iOS (duplicate symbols for architecture x86_64)

Community
  • 1
  • 1
Arik Segal
  • 2,963
  • 2
  • 17
  • 29