dyld: Library not loaded

问题

描述:使用carthage导入Rxswfit框架之后启动app闪退,crash信息如下:

dyld: Library not loaded: @rpath/RxSwift.framework/RxSwift
  Referenced from: /Users/frank/Library/Developer/CoreSimulator/Devices/167421B8-6B78-4F72-A226-240737DB7961/data/Containers/Bundle/Application/EDEF2AEB-790F-4AB7-9D98-CD387DA67B30/CarthageRxSwiftDemo.app/CarthageRxSwiftDemo
  Reason: image not found

解决方法

TARGETS->General->Embedded Binaries 添加相应的framework


dyld: Library not loaded_第1张图片
WechatIMG18765.jpeg

你可能感兴趣的:(dyld: Library not loaded)