jose920405 jose920405 - 1 month ago 11
iOS Question

Framework Library not loaded: 'Image not found'

I have a framework that have Pods and my main project too.

Error:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /Users/station7/Library/Developer/CoreSimulator/Devices/472E34A1-3D59-4C1F-90A3-3F3FF2998CC4/data/Containers/Bundle/Application/5E4E1D98-6451-4F1D-8E90-A032029D634D/MyApp.app/Frameworks/requestMyApp.framework/requestMyApp
Reason: image not found



  • Alamofire.framework
    exist in framework pods But no in the main project.




If the framework exist in the
main project
the error never appear. But is in-necessary have
Alamofire
in both projects in podfile, Considering that the main project does not use at all the
Alamofire
.


i'm following this post: source 1 and source 2

I'm trying all of steps that are sources but nothing works.

enter image description here
enter image description here
enter image description here
enter image description here
enter image description here

Answer

The Framework uses post but put it into the Main Project, seems also need Alamofire in pods. That is, to fix must be Alamofire in both projects.

Comments