ios - Facebook 似乎随机出现在我的项目中

标签 ios facebook cocoapods fbsdk fbsdkloginkit

我注意到我在日志中得到以下信息。 它们属于哪个 pod?

: Please set a value for FacebookAutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events.

: You haven't set a value for FacebookAdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events.

这是我的 pod :

pod 'Firebase'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'FirebaseUI'
pod 'SDWebImage'
pod 'Mapbox-iOS-SDK', '~> 4.9'
pod 'Firebase/Analytics'
pod 'Firebase/Messaging'
pod 'Nuke', '~> 7.0'

如果有的话,我没能找到它是哪一个的一部分。 如何删除它们?

在我的 pod 文件夹中,我在这里看到它们: enter image description here

最佳答案

Facebook SDK 是一个 dependency of FirebaseUI .您可以选择 FirebaseUI 的特定子规范来排除它,而不是通过不指定子规范来安装所有子规范。

要找出为什么将任何特定依赖项添加到您的项目,请参阅 Podfile.lock 文件。

关于ios - Facebook 似乎随机出现在我的项目中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56802509/

相关文章:

ios - Xcode 9 bug : build on device fails with lots of errors, 模拟器运行良好

ios - 是否可以动态填充应用内购买的产品列表?

ios - Titanium 中的 Facebook 私信

ios - `pod repo update`到底是做什么的?

ios - 以不同的速度摆动箭头

xcode - Xcode 4 的 "bad codegen, pointer diff"链接器错误

ios - Facebook 应用 token 将于 2015 年 4 月 30 日后撤销?

facebook - 如何一对一发布开放图故事 - 没有对象标题?

ios - Swift 项目中的 Cocoa pods objective c 文件。桥接问题

ios - 如何在 Xcode 中使用 FBSDKLoginKit 修复构建错误