gpt4 book ai didi

ios - facebook ios sdk 日志 : strange message

转载 作者:可可西里 更新时间:2023-11-01 04:27:34 24 4
gpt4 key购买 nike

我有一个分享图片的按钮,每次我点击它,我都会在日志中看到这条消息,我不明白:

2012-08-12 19:21:30.511 AvisOcean[2239:707] An instance 0xe6b8fe0 of class FBSessionManualTokenCachingStrategy was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info: ( Context: 0xa5e90, Property: 0x245310> Context: 0xa5e90, Property: 0x28c400> )

有什么想法吗?

最佳答案

Facebook SDK 正在泄漏观察者。我正在使用 SDK v3.1。

如果您使用的 SDK 没有弃用的 header (即 Facebook.h),这应该不是问题。但是要使用 native 对话框,您需要包含已弃用的 header (来源:https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/),这会在关闭/清理事件 session 时导致此错误。

这是修复它的拉取请求:https://github.com/facebook/facebook-ios-sdk/pull/474

然后您可以使用 Facebook SDK for iOS6/Xcode 4.5 not working 重建 SDK

关于ios - facebook ios sdk 日志 : strange message,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11924245/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com