New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire on my iPhone(iOS8) while debuging #101
Comments
@mikoj Thank you very much! |
Also have the same issue with the example project, would be nice if the example built out of the box. |
Fixed by cb7dde5. |
Thanks @mikoj |
THANKS :-) |
I have the same question, I just do as Mikoj told, but i still crash on my iPhone, not in simulator.I really do not know how to do |
Me too as KevinIsSun said.. Is this really resolved? |
Thanks all for the insights in solving this issue. |
I have the same problem except that my Alamofire is embeded in a framework that is linked to my project… |
Thank you very much!, This was very useful |
@mikoj if this were SO, I would upvote you. thanks |
Still have the same issue, XCode 6.4, iOS 8.0+, Swift 1.2, using CocoaPods, Alamofire 1.3.
|
@mikoj It worked. Thank you! |
@mikoj It worked. Thank you! 👍 |
+1 @mikoj Closed to prevent too many "thank you" and "you're awesome". |
it's working, thanks |
@mushu8 Did you resolve this issue with Alamofire inside framework? |
@derpoliuk @mushu8 Came across this thread trying to solve a similar problem when adding a 3rd party framework to a framework i'm building. (Example shows SDWebImage framework, but has universally solved the same problem I was having with Realm and MockingJay) Hope it helps EDIT: Can't recommend this anymore; Although it works well in development Apple actually rejects apps that have a framework with embedded frameworks... Not sure why) |
I have the same problem ,It does not work ,how to dear the problem? for help online |
@abury what that method produces in the client of your frameworks project is this: Unfortunately they will be able to see every framework you use in your own framework. I believe the correct way to do this (correct me if I'm wrong) is to get the client to include each framework themselves as all frameworks should be linked and copied app-level. It reduces problems with versioning of frameworks also I believe. What I would like to do is embed frameworks inside my framework, and not have them accessible by, or even visible to, the user of my framework. Unfortunately I think that is not possible, so I am starting to think I cannot use Alamofire in my framework. |
@korovyev You're right in that it shows that the frameworks dependancies can be seen from within the framework itself (I didn't know it did that!) But I'm not sure that they can then be used in the host application. |
I also have the same issue.I tried every solutions above.But not working.Please help me to solve this.After adding framework in 'Copy Files Phase' and 'Linked libraries',in my project it shows the framework as in red color.So its telling like 'framework not found alamofire' |
I have tried. And it could build.. u are very helpful. thanks! @mikoj |
This issue also showed up for me ,please help me! |
Hi, Embed Pods framework is the reason for this.UITest -> Buildphases -> Embed On Mon, Jul 25, 2016 at 12:18 PM, binjCN notifications@github.com wrote:
|
I fixed, solution is |
When you have this: |
Besides Linked Framework and Embed, I also had to add a Copy Phase |
I resolve this issue as like followings. |
Even after doing what was suggested by Mikoj I was still getting this error. It wasn't until I set 'enable bitcode' to No in build settings that it started to work. :/ |
Hi guys- I noticed that loads of people are still getting this error. When I changed the permission of the world Wide Developer cert to I would encourage you to log the ticket in apple bug report as mentioned here as Apple really should solve this massive error: |
dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire |
Hi guys,I also get this error,and I still did not resolve after all of the methods used!Then I did not fix the problem after changed the Xcode version, but I did not have a problem on another Mac.So what can I do? it got me crazy!!! |
Hi @peixuan197 it still happens periodically with me. I find that when I run my tests a second time - then it works ok.
|
Thank you very much!, This was very useful @mikoj |
- In Embed Frameworks, unselect `Copy only when installing` fixes the problem, this also fixes iOS example tests - Enable tests for example project - Reference: Alamofire/Alamofire#101 (comment)
@OmarAlEisa , Special thanks to you, I did experienced this because I removed all certificates from my keychain!!! Thanks to you. |
Just had the same issue on High Sierra with Xcode 9.1. After trying the dozens and dozens of suggestions on various posts, our solution was simply to change the code signing authority from one team member to another. We deleted the problem cert, and the app installed and ran on the test phone fine. Reinstalled the originally signing authority profile and compiled again... all good now. I'd recommend making this the first step in testing for this error. We tried deleting derived data and cache, reinstalling Xcode from scratch, etc. Nothing we did, not settings adjusted had any effect until we simply swapped out the signing profiles and ran a build. After that, all issues resolved. |
The only thing that worked for me: |
cleaned Derived Data and worked! 👍 :)) |
I Have new issue faced in Alamofire Framwork error Description >>
plz help solve this isuue |
|
- In Embed Frameworks, unselect `Copy only when installing` fixes the problem, this also fixes iOS example tests - Enable tests for example project - Reference: Alamofire/Alamofire#101 (comment)
@grantkemp Thanks , it worked for me (y) |
I encountered this issue when trying to build to my actual iOS device (but it worked fine in the simulator). I spent at least 10 hours trying to fix this bug. Tried everything in all the forums, nothing worked. But this is what finally worked for me!
I couldn't have imagined this, but its true that iOS 13.3.1 breaks the third parties signature unless you have a paid developer account! |
@swapnizzle Yes, that issue was tracked by #3051. |
Xcode6 GM
I've read all the issues about this kind of problem, but couldn't solve the problem.
Also, there is the same issue in iOS Example project:
The text was updated successfully, but these errors were encountered: