Reputation: 1710
I am getting this error in Adhoc build , but in development mode it works just fine.
Dyld Error Message:
Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/mobile/Containers/Bundle/Application/DA4702F0-6A4C-4EB6-99D0-255ABB6E3F57/Real Estate.app/Real Estate Reason: image not found Dyld Version: 353.12
Upvotes: 1
Views: 721
Reputation: 1655
I spent several hours trying to fix this error, and I resolved only after create a brand new project with Xcode and use same pods. I just discovered that the in the Build Phases of target weren't last two sections:
They are defined as run scripts:
"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh"
And:
"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh"
I hope this help.
Upvotes: 2