28
votes

I don't want to integrate twitter or Facebook with my Parse app, and i've specified that in the coding of what I want on my login screen. I have 6 errors coming up: (I'm using Xcode 5 and latest version of Parse SDK)

Undefined symbols for architecture x86_64:
  "_ACAccountTypeIdentifierTwitter", referenced from:
      -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
  "_OBJC_CLASS_$_ACAccountStore", referenced from:
      objc-class-ref in Parse(PF_Twitter.o)
  "_OBJC_CLASS_$_SLComposeViewController", referenced from:
      objc-class-ref in Parse(PF_Twitter.o)
  "_OBJC_CLASS_$_SLRequest", referenced from:
      objc-class-ref in Parse(PF_Twitter.o)
  "_SLServiceTypeTwitter", referenced from:
      -[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
      -[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
6
Presumably you are not linking with the Twitter framework. - petert
Answer: Add Social.framework - WE Corps
couldn't find a twitter.framework - WE Corps

6 Answers

65
votes

Under Targets, General, Linked Frameworks and Libraries add:

  • Social.framework
  • Accounts.framework
14
votes

This Match-O error usually come into the picture because you need the the link flag -ObjC. They usually say that your framework links are messed up. SO first thing is to check they are all linked properly by comparing your left side pane (where you see frameworks) and the target -> Build settings under the Linked Frameworks and Library.

For your particular case, I' d bet you will need to add:

  • Social.framework
  • FacebookSDK.framework
  • Accounts.framework

Hope this helps.

7
votes

Click on Targets → Your app name → and then the 'Build Phases' tab. Expand 'Link Binary With Libraries' Add Social.framework

Edit: may also need to add Accounts.framework

4
votes

Also need to add Social.framework, Accounts.framework, and, Twitter.framework - see below for the complete screenshot:

enter image description here

1
votes

The documentation doesn't seem up to date. To make it work you have to add the Accounts framework and also the Bolts framework, the latter comes with the Parse sdk.

-1
votes

add those frameworks:

  • Social.framework
  • Accounts.framework
  • CoreData.framework