Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse Starter Project LogIn and Register View Controllers Errors

Tags:

When I tried to use the Parse Starter Project (I downloaded it and installed it as per the instructions, but I don't have a developer's license yet, so no push notifications), I got six errors, all about referencing twitter Mach-O Link errors. Here they are:

Undefined symbols for architecture i386:

"_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 i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
like image 456
WE Corps Avatar asked Apr 23 '14 19:04

WE Corps


1 Answers

I had this same issue. The login related classes for parse require you to add two additional frameworks beyond what is listed in their quick start documentation:

Social.framework Accounts.framework 

These frameworks are part of iOS. Simply go to the projects Build Phases->Link Binary with Libraries and add them. I hope you find this helpful.

like image 53
KryptonianSon Avatar answered Oct 13 '22 00:10

KryptonianSon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!