簡體   English   中英

Swift Xcode錯誤:Apple Mach-O鏈接器錯誤

[英]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)

我的Apple Mach-O鏈接器錯誤來自於1)“ _ OBJC_CLASS _ $ _ PFLogInViewController”,引用自:2)“ _ OBJC_CLASS _ $ _ PFSignUpViewController”,引用自:3)“ _ OBJC_CLASS _ $ _ PFUser”,引用自:4)“ _OBJC_CLASS _ $ _ Parse “,引用自:5)鏈接器命令失敗,退出代碼為1(使用-v查看調用)

我可以知道什么是Apple Mach-O鏈接器錯誤以及解決此錯誤的方法嗎?

干凈地構建您的項目。 重建。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM