按照添加系统的库的方法,在 targets->General->Linked Frameworks and Libraries 中添加会报如下错误:
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)
应该在
targets->Build Phase 中点击左上角的 +,选择 New Copy Files Phase,在Destination中选择Frameworks,点击下方的 + 添加自定义的framework