简体   繁体   中英

Swift Xcode Error : Apple Mach-O Linker Error

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 ?

Clean build your project. Rebuild.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM