Skip to content

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire on my iPhone(iOS8) while debuging #101

Closed
@imWildCat

Description

@imWildCat
dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
  Referenced from: /private/var/mobile/Containers/Bundle/Application/XXX/Anachronos.app/Anachronos
  Reason: image not found

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:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
  Referenced from: /private/var/mobile/Containers/Bundle/Application/CEA6C4C1-C211-460C-8ECF-4FD9C66F1016/iOS Example.app/iOS Example
  Reason: image not found

Activity

mikoj

mikoj commented on Sep 15, 2014

@mikoj

I had a similar issue
Build Phases
zrzut ekranu 2014-09-15 o 21 08 34
General
zrzut ekranu 2014-09-15 o 21 09 23

imWildCat

imWildCat commented on Sep 16, 2014

@imWildCat
Author

@mikoj Thank you very much!

Paludis

Paludis commented on Sep 17, 2014

@Paludis

Also have the same issue with the example project, would be nice if the example built out of the box.

mattt

mattt commented on Sep 18, 2014

@mattt
SponsorContributor

Fixed by cb7dde5.

khunshan

khunshan commented on Dec 1, 2014

@khunshan

Thanks @mikoj

hernanarber

hernanarber commented on Feb 2, 2015

@hernanarber

THANKS :-)

KevinIsSun

KevinIsSun commented on Feb 17, 2015

@KevinIsSun

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

minhoryang

minhoryang commented on Apr 10, 2015

@minhoryang

Me too as KevinIsSun said.. Is this really resolved?

mmmattos

mmmattos commented on Apr 19, 2015

@mmmattos

Thanks all for the insights in solving this issue.
Just one clarification. The "Embed Frameworks" option was not available on xCode 6.3 under Build Phases. It is actually a "Copy Files Phase" (clicking in the +) in the same Build Phases.
I had to do it too for other framework I use (SwiftyJSON).

41 remaining items

thihaaung6245

thihaaung6245 commented on Jul 31, 2017

@thihaaung6245

@OmarAlEisa , Special thanks to you, I did experienced this because I removed all certificates from my keychain!!! Thanks to you.

daibodhisattva

daibodhisattva commented on Nov 8, 2017

@daibodhisattva

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.

neilsekhon

neilsekhon commented on Dec 22, 2017

@neilsekhon

The only thing that worked for me:
Target > Build Phases > [CP] Embed Pods Frameworks
Uncheck "Show environment variables in build log" and "Run script only when installing"

steewsc

steewsc commented on Dec 27, 2017

@steewsc

Also (this worked for me) if you are using multiple configuration (Dev, Staging, Production...) check that those configurations are using proper Pods xcconfig files (see .dev, .test and .release):
screen shot 2017-12-27 at 4 54 40 pm

KiranJasvanee

KiranJasvanee commented on Mar 8, 2018

@KiranJasvanee

cleaned Derived Data and worked! 👍 :))

furkanvijapura

furkanvijapura commented on Mar 12, 2018

@furkanvijapura

I Have new issue faced in Alamofire Framwork

error Description >>

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
  Referenced from: /Users/sunilyadav/Library/Developer/CoreSimulator/Devices/76022694-CD0A-44EC-BCF7-B2470C0CF484/data/Containers/Bundle/Application/BEC17A4E-E681-44A3-A83F-6AC58601A51C/Odin_App_Project_Swift.app/Odin_App_Project_Swift
  Reason: image not found

plz help solve this isuue

kaiyuanheshang

kaiyuanheshang commented on Mar 12, 2018

@kaiyuanheshang
  1. deployment version do not match your min iOS version
  2. you build the framework as its mach-o as dynamic library
poonamdhomane

poonamdhomane commented on Aug 2, 2019

@poonamdhomane

@grantkemp Thanks , it worked for me (y)
I was facing the same issue on xcode 10.3 with ios 12

swapnizzle

swapnizzle commented on Apr 8, 2020

@swapnizzle

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!

  • Upgrading from iOS 13.3.1 to iOS 13.4.1

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!

jshier

jshier commented on Apr 8, 2020

@jshier
Contributor

@swapnizzle Yes, that issue was tracked by #3051.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mattt@mikoj@jshier@mmmattos@adammendoza

        Issue actions

          dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire on my iPhone(iOS8) while debuging · Issue #101 · Alamofire/Alamofire