簡體   English   中英

xCode鏈接器失敗

[英]xCode failed linker

嘗試在Xcode中構建我的iOS應用時,出現以下錯誤消息。

Undefined symbols for architecture i386: "OBJC_CLASS$UIPresentationController", referenced from: _OBJC_CLASS$SSSidebarPresentationController in libtools.a(SSSidebarPresentationController.o) "_OBJC_METACLASS$UIPresentationController", referenced from: _OBJC_METACLASS$_SSSidebarPresentationController in libtools.a(SSSidebarPresentationController.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我有最新版本的Xcode。 我曾嘗試清理和刪除派生數據,但這沒有幫助。 我注意到互聯網上的許多其他人也有類似的錯誤消息,但是解決方案並沒有幫助我。

將AVFoundation和CoreLocation框架添加到目標中。 執行完此操作后,刪除派生的數據,清理並重新生成。

另外,在構建設置下檢查架構,並確保在有效架構下列出了armv7和armv7。 如果以上答案不能解決您的問題,請嘗試添加或刪除arm64。

暫無
暫無

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

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