dud*_*ror 12 frameworks ios swift alamofire
我创建了一个自定义iOS框架LoginKit.它反过来将Alamofire框架嵌入其中.在模拟器中,一切正常,但在尝试在设备上运行时,我收到错误:
Dyld错误消息:
Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/506B47DE-804F-477F-AA90-69DF039E07FA/data/Containers/Bundle/Application/26D0CA8F-7284-42B5-8091-E5915736DCDB/Bingo.app/Bingo
Reason: image not found
Run Code Online (Sandbox Code Playgroud)
在父应用程序中,在嵌入式二进制文件部分中,我只有LoginKit.framework.现在,如果我还嵌入了Alamofire.framework(取自LoginKit下面),那么错误就会消失.这种行为有望吗?它不会破坏封装的整个目的吗?
归档时间: |
|
查看次数: |
1436 次 |
最近记录: |