FBSDKCoreKit/FBSDKCoreKit.h not found error

后端 未结 27 1993
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 11:07

I am implementing FB Login so i Downloaded the SDK from https://developers.facebook.com/docs/ios. then i drag n down FBSDKCoreKit, FBSDKLoginKit a

27条回答
  •  情话喂你
    2020-12-04 11:45

    I ran into this issue last night, and wanted to post my solution just in case someone else has the same problem. My problem was my app was building and running fine in the sim and on my device, however the build would fail because of FBSDKCoreKit whenever I tried to run my unit tests. It took my about 30 minutes to find the problem, and I felt like a dummy when I did.

    Make sure that the FBSDKCoreKit bundle is targeted for your tests as well, and not just your regular application build.

提交回复
热议问题