0
votes
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_PFLogInViewController", referenced from:
  __TMaCSo21PFLogInViewController in ViewController.o
"_OBJC_CLASS_$_PFSignUpViewController", referenced from:
  __TMaCSo22PFSignUpViewController in ViewController.o
"_OBJC_CLASS_$_PFUser", referenced from:
  __TMaCSo6PFUser in LoginViewController.o
  __TMaCSo6PFUser in ViewController.o
  __TMaCSo6PFUser in signUpViewController.o
"_OBJC_CLASS_$_Parse", referenced from:
  __TMaCSo5Parse in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm having Apple Mach-O Linker Error from 1) "_OBJC_CLASS_$_PFLogInViewController", referenced from: 2) "_OBJC_CLASS_$_PFSignUpViewController", referenced from: 3) "_OBJC_CLASS_$_PFUser", referenced from: 4) "_OBJC_CLASS_$_Parse", referenced from: 5) linker command failed with exit code 1 (use -v to see invocation)

Can i know what is Apple Mach-O Linker Error and the way to solve this error ?

1
It looks like a problem with the Parse library - did you add it manually (instead of using cocoapods)? If yes, you've probably missed something - Antonio
i add it by cocoapods - Beginner
Did you open up the new workspace it made after the pod installed? The original project would probably do this. - Dare
And have you added ParseUI if you're using visual parse components? - Antonio
@Antonio where and how should i add the parseUI ? - Beginner

1 Answers

0
votes

Clean build your project. Rebuild.