こんにちは、iOS プロジェクトに解析を追加し、PFLogInViewcontroller と PFSignUpViewController を使用しようとしています。必要なすべてのライブラリ、特に social.framework と accounts.framework も追加しました
しかし、「PFLogInViewController」と「PFSignUpViewController」を初期化した後に6つのエラーが発生します。コードは次のとおりです。
PFLogInViewController *logInViewController = [[PFLogInViewController alloc] init];
[logInViewController setDelegate:self]; // Set ourselves as the delegate
// Create the sign up view controller
PFSignUpViewController *signUpViewController = [[PFSignUpViewController alloc] init];
[signUpViewController setDelegate:self]; // Set ourselves as the delegate
// Assign our sign up controller to be displayed from the login controller
[logInViewController setSignUpController:signUpViewController];
// Present the log in view controller
[self presentViewController:logInViewController animated:YES completion:NULL];
これらの行を削除すると、ビルドは成功します。不足しているものと場所を教えてもらえますか。以下はエラーです。
アーキテクチャ i386 の未定義シンボル:
「_ACAccountTypeIdentifierTwitter」、次から参照: -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
「_OBJC_CLASS_$_ACAccountStore」、参照元: Parse の objc-class-ref(PF_Twitter.o)
「_OBJC_CLASS_$_SLComposeViewController」、参照元: Parse の objc-class-ref(PF_Twitter.o)
「_OBJC_CLASS_$_SLRequest」、参照元: Parse の objc-class-ref(PF_Twitter.o)
「_SLServiceTypeTwitter」、次から参照: -[PF_Twitter setAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
ld: アーキテクチャ i386 のシンボルが見つかりません
clang: エラー: リンカー コマンドが終了コード 1 で失敗しました (呼び出しを確認するには -v を使用してください)
ストーリーボードを使用して PFLogInViewController を使用できますか?
