Parse platform ParseUI iOS和CocoaPods的链接器错误
我试图使用Parse构建一个应用程序,并想给ParseUI一个机会。我使用Cocoa pods导入了Parse的主SDK,它运行得很好。当我决定添加ParseUI时,遇到了问题Parse platform ParseUI iOS和CocoaPods的链接器错误,parse-platform,cocoapods,parseui,Parse Platform,Cocoapods,Parseui,我试图使用Parse构建一个应用程序,并想给ParseUI一个机会。我使用Cocoa pods导入了Parse的主SDK,它运行得很好。当我决定添加ParseUI时,遇到了问题 Undefined symbols for architecture i386: "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from: objc-class-ref in PFImageView.o "_OBJC_CLASS_$_PFProd
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:
objc-class-ref in PFImageView.o
"_OBJC_CLASS_$_PFProduct", referenced from:
objc-class-ref in PFProductTableViewController.o
(maybe you meant: _OBJC_CLASS_$_PFProductTableViewController)
"_OBJC_CLASS_$_PFPurchase", referenced from:
objc-class-ref in PFProductTableViewController.o
(maybe you meant: _OBJC_CLASS_$_PFPurchaseTableViewCell)
"_OBJC_CLASS_$_PFQuery", referenced from:
objc-class-ref in PFQueryTableViewController.o
(maybe you meant: _OBJC_CLASS_$_PFQueryTableViewController)
"_OBJC_CLASS_$_PFTwitterUtils", referenced from:
objc-class-ref in PFLogInViewController.o
"_OBJC_CLASS_$_PFUser", referenced from:
objc-class-ref in PFLogInViewController.o
objc-class-ref in PFSignUpViewController.o
"_PFParseErrorDomain", referenced from:
-[PFImageView loadInBackground:] in PFImageView.o
___32-[PFImageView loadInBackground:]_block_invoke30 in PFImageView.o
-[PFSignUpViewController _signUpAction] in PFSignUpViewController.o
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
-[PFImageView loadInBackground:] in PFImageView.o
___32-[PFImageView loadInBackground:]_block_invoke30 in PFImageView.o
-[PFSignUpViewController _signUpAction] in PFSignUpViewController.o
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorCacheMiss", referenced from:
___48-[PFQueryTableViewController loadObjects:clear:]_block_invoke in PFQueryTableViewController.o
"_kPFErrorInvalidEmailAddress", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorInvalidImageData", referenced from:
___32-[PFImageView loadInBackground:]_block_invoke30 in PFImageView.o
"_kPFErrorUnsavedFile", referenced from:
-[PFImageView loadInBackground:] in PFImageView.o
"_kPFErrorUserEmailMissing", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorUserEmailTaken", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorUserPasswordMissing", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorUsernameMissing", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
"_kPFErrorUsernameTaken", referenced from:
-[PFSignUpViewController _signUpDidFailWithError:] in PFSignUpViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我尝试过一些事情,比如强制包含Parse.framework来链接ParseUI,但似乎没有什么帮助。我不是Cocoapod或XCode方面的专家,所以我不知道我是否有明显的遗漏
我试过可可豆0.35和0.36-beta-1。这是一个swift项目,所以我不知道这是否会导致一些问题。您需要使用framework Bolts.frameworks。此框架是Parse SDK的一部分。另一件事是,对于Parse SDK的最新版本(现在是v1.6.2),您必须导入Parse/Parse.h、ParseUI/ParseUI.h或两者,具体取决于您使用的对象。
如果您需要有关安装de Bolts framework的更多信息,请告诉我!:) bump,我也有同样的问题,我有各种各样的链接错误,添加“螺栓”框架修复了一切。为什么解析“快速启动”指令没有提到它?