簡體   English   中英

iPhone應用程序/框架鏈接

[英]iPhone App / Framework Linking

我正在嘗試編譯iPhone應用程序,但出現以下錯誤

.objc_class_name_UILabel", referenced from: literal-pointer@__OBJC@__cls_refs@UILabel in
literal-pointer@__OBJC@__cls_refs@UILabel in libFBPlatform.a(FBDialog.o) .objc_class_name_CAKeyframeAnimation", referenced from: literal-pointer@__OBJC@__cls_refs@CAKeyframeAnimation in libSCKit.a(CAAnimationAdditions.o) .objc_class_name_NSMutableURLRequest", referenced from: _OBJC_CLASS_$_XMLDocument", referenced from: .objc_class_name_UIActivityIndicatorView", referenced from: _OBJC_METACLASS_$_SCParserObject", referenced from: _OBJC_CLASS_$_SCImageLoadOperation", referenced from: _OBJC_CLASS_$_SCGroupTableViewCellBackgroundView", referenced from: .objc_class_name_NSMutableSet", referenced from: _objc_exception_try_enter", referenced from: _OBJC_METACLASS_$_SCNavigationBar", referenced from:

我認為這意味着我有一些未鏈接的框架,但我不知道如何確定缺少哪些框架。 有沒有一種簡單的方法可以說出來,或者僅僅是一個手工流程來查找錯誤,看看哪個框架可能拋出該錯誤,然后添加然后添加它。

非常感謝您的任何幫助。

該文檔告訴您每個類所屬的框架。在您的情況下,您將需要UIKit.framework (UILabel), QuartzCore.framework (CAKeyframeAnimation)和Foundation.framework (NSMutableURLRequest)。 由於這3個中的兩個默認包含在任何標准的iOS項目中,因此您看起來很混亂。

暫無
暫無

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

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