【问题标题】:Facebook Scrumptious sample app won't buildFacebook Scrumptious 示例应用程序无法构建
【发布时间】:2012-09-27 15:36:02
【问题描述】:

我做了他们在视频中所做的事情。但是,当我使用美味的应用程序并尝试构建/运行它时,我的失败了。它说:“解析问题。需要一个类型。”

以下是它认为损坏的三行(位于 ACAccountStore.h 中):

    // Returns the account type object matching the account type identifier. See
    // ACAccountType.h for well known account type identifiers
    - (ACAccountType *)accountTypeWithAccountTypeIdentifier:(NSString
    *)typeIdentifier;

    // Returns the accounts matching a given account type.
    - (NSArray *)accountsWithAccountType:(ACAccountType *)accountType;

// this method is called on an arbitrary queue.
- (void)requestAccessToAccountsWithType:(ACAccountType *)accountType 
                  withCompletionHandler:(ACAccountStoreRequestAccessCompletionHandler)handler;

这里是教程的链接。在我撞到这堵墙之前,我什至没有做到两分钟。 http://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/

我正在运行 Xcode v4.4.1。

【问题讨论】:

    标签: facebook xcode4


    【解决方案1】:

    从该教程的第 1 步开始:

    安装先决条件

    您需要 Xcode 4.5,还需要 Git

    尝试升级 XCode,看看它是否使用推荐的版本构建。

    【讨论】:

    • 嗯,这可能不是问题,但这是我注意到的第一件事
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-26
    • 1970-01-01
    • 2012-06-01
    • 2012-07-02
    • 2015-11-07
    相关资源
    最近更新 更多