0

私は iOS 開発の初心者で、 と を使用してチャット アプリを作成したいと考えていParseますJSQMessagesViewController。しかし、プロジェクトをコンパイルすると、50 個のエラーが発生しました。

インストールには CocoaPods を使用しましたJSQMessagesViewController

Undefined symbols for architecture x86_64:
"_ACAccountTypeIdentifierTwitter", referenced from:
  -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_FBTokenInformationExpirationDateKey", referenced from:
  -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
  -[PFFacebookTokenCachingStrategy expirationDate] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
  -[PFFacebookTokenCachingStrategy setExpirationDate:] in ParseFacebookUtils(PFFacebookTokenCachingStrategy.o)
4

1 に答える 1

1

不足しているフレームワークを追加する必要がありました。XCode で、に移動しProject Targets -> Generalます。の下Linked Frameworks and Librariesに と を追加Social.frameworkAccounts.frameworkます。

これと同じ問題があり、これら 2 つのフレームワークを (とともにBolts) 追加すると問題が解決しました。

于 2015-04-22T04:37:02.623 に答える