按照添加系統的庫的方法,在 targets->General->Linked Frameworks and Libraries 中添加會報以下錯誤:app
dyld: Library not loaded: @rpath/lark7618.framework/lark7618
Referenced from: /private/var/mobile/Containers/Bundle/Application/4C65A058-D2D6-40A5-8CAF-5DC0003FF4E1/lark7618Sample.app/lark7618Sample
Reason: image not found
(lldb) ui
應該在get
targets->Build Phase 中點擊左上角的 +,選擇 New Copy Files Phase,在Destination中選擇Frameworks,點擊下方的 + 添加自定義的frameworkio