I'm using CocoaPods v0.36
with my Swift
project and the following pods: Alamofire
, CocoaLumberjack
, SwiftyJSON
.
Everything was fine till I used my Developer ID. Compiler started to have problems to compile the project, after some fixes and updates for CocoaPods
my project compiles but at runtime I get the following error:
dyld: Library not loaded: @rpath/Alamofire.framework/Versions/A/Alamofire Referenced from: /Users/Ivan/Library/Developer/Xcode/DerivedData/myApp-bsxfcnwqpaxnzbhencwzteasshzf/Build/Products/Debug/myApp.app/Contents/MacOS/myApp Reason: image not found
I read different posts related to this:
But none seems to solve the issue.
The only clue that I have is that the 3 frameworks are in red, so it seems that are not generated/linked.
Now, I've removed my Developer ID, but the issue is still there. Does anybody have an idea?
Solved Below the steps I did:
dyld library not loaded @rpath/framework
please make sure that the framework is showing under target->general->embeded binaries and linked framework and libraries section
if not then add by clicking + sign add just add the framework only
done!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With