Make your Accounts framework optional and try.
FacebookSDK - Unknown Type ACAccountCredentialRenewResult Error
-
04-04-2022 - |
質問
I have installed newly updated facebook SDK 3.5
in my mac. I took the tutorials given in facebook developer website and integrated the facebook SDK
in my XCode
Project.
I just tried to run the facebook sample project. But I am getting the error as
Parse Issue: Unknown Type ACAccountCredentialRenewResult Error
and project is not compiling. I have seen that ACAccountCredentialRenewResult
is available from iOS 6
itself. But facebook says the SDK is compatible from iOS 4.3+ . I am trying to run the project in iOS 5.1 simulator and XCode 4.5. Anyone help me to get rid of this issue. Any help would be appreciated.
解決 2
他のヒント
I don't know if this is a final solution but I put the missing enum at the top of my FBsession.h file.
typedef enum {
ACAccountCredentialRenewResultRenewed,
ACAccountCredentialRenewResultRejected,
ACAccountCredentialRenewResultFailed
} ACAccountCredentialRenewResult;
所属していません StackOverflow