The FB Login works fine in the simulator. But when I install the app on a real phone, running iOS 10, it fails with the following error:
dyld: Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
Referenced from: /var/containers/Bundle/Application/A0C77D9D-2B06-485E-B069-55A7026E4336/AZMeal.app/AZMeal
Reason: image not found
Message from debugger: Terminated due to signal 6
There is very little help available on this error, but from what I have read so far, I have tried everything, which includes:
- copy the SDK in my project
- switch Link Binary... to Optional
- insert the FB Login Framework in the Copy Files
However, nothing of it worked. It still gives the same error when it tries to run the app on the phone.
What can I do to fix this issue?
