常见Bug - CocoaPods

  • Alamofire使用报错

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from:
/Users/kogian/Library/Developer/CoreSimulator/Devices/C5CBD29E-1DFB-4D08-B15E-2B0E9126D3AD/data/Containers/Bundle/Application/D9C0AE57-A5C4-4C15-8A7E-87741F6F2151/FunnyCookBook.app/FunnyCookBook
Reason: image not found
(lldb)

解决方法:Target -> General ->Embedded Binaries 中添加Alamofire的Framework

你可能感兴趣的:(常见Bug - CocoaPods)