[英]Swift 4 + Xcode 9 + Could not build Objective-C module 'FBSDKLoginKit'
Getting an error in importing FB SDK files. 导入FB SDK文件时出错。 I used cocoa pods to install FB SDK. 我使用可可豆荚来安装FB SDK。 I tried to create a FB LogIn Authentication module in the app. 我试图在应用程序中创建FB登录身份验证模块。 Anyone solved the issue. 任何人都解决了这个问题。 I just visited many stack overflow links and none can solve my issue 我刚刚访问了许多堆栈溢出链接,但没有一个可以解决我的问题
I think you have error setting pods, check steps with project files here: 我认为您在设置Pod时出错,请在此处检查包含项目文件的步骤:
https://github.com/mohammedjamalhadi/FBLogin https://github.com/mohammedjamalhadi/FBLogin
Got a Solution... Just Use these NEW pods 有解决方案...只需使用这些新吊舱
pod 'FacebookCore'
pod 'FacebookLogin'
Earlier I used these pods 之前我用过这些豆荚
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
Also slight change in the Import Statements 导入声明也略有变化
import FacebookLogin
import FBSDKLoginKit
import FBSDKCoreKit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.