【问题标题】:FacebookSDK - Unknown Type ACAccountCredentialRenewResult ErrorFacebookSDK - 未知类型 ACAccountCredentialRenewResult 错误
【发布时间】:2013-04-12 12:32:36
【问题描述】:

我在我的 mac 中安装了新更新的 facebook SDK 3.5。我学习了 facebook 开发者网站上给出的教程,并将 facebook SDK 集成到我的 XCode 项目中。

Facebook SDK Link

Tutorial Link

我刚刚尝试运行 facebook 示例项目。但我得到的错误是

Parse Issue: Unknown Type ACAccountCredentialRenewResult Error

并且项目未编译。我已经看到ACAccountCredentialRenewResult 可以从iOS 6 本身获得。但 facebook 表示 SDK 与 iOS 4.3+ 兼容。我正在尝试在 iOS 5.1 模拟器和 XCode 4.5 中运行该项目。任何人都可以帮助我摆脱这个问题。任何帮助将不胜感激。

【问题讨论】:

    标签: iphone ios6 ios4 facebook-ios-sdk acaccount


    【解决方案1】:

    我不知道这是否是最终解决方案,但我将丢失的枚举放在了 FBsession.h 文件的顶部。

    typedef enum {
       ACAccountCredentialRenewResultRenewed,
       ACAccountCredentialRenewResultRejected,
       ACAccountCredentialRenewResultFailed
    } ACAccountCredentialRenewResult;
    

    【讨论】:

      【解决方案2】:

      使您的帐户框架可选并尝试。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-12-27
        • 1970-01-01
        • 2019-09-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-02-20
        相关资源
        最近更新 更多