dyld, the Dynamic Link Editor, is the binary loader for Darwin (Mac OS X). Questions about dyld typically involve shared libraries being unavailable at link-time, or unavailable at runtime.
Questions tagged [dyld]
465 questions
664
votes
34 answers
iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta
This crash has been a blocking issue I used the following steps to reproduce the issue:
Create a Cocoa Touch Framework project
Add a swift file and a class Dog
Build a framework for device
Create a Single View application in Swift
Import framework…

vladof81
- 26,121
- 9
- 38
- 41
463
votes
59 answers
dyld: Library not loaded: @rpath/libswiftCore.dylib
I am trying to run a Swift app on my iPhone 4s. It works fine on the simulator, and my friend can successfully run it on his iPhone 4s. I have iOS 8 and the official release of Xcode 6.
I have tried
Restarting Xcode, iPhone, computer
Cleaning &…

user3751185
- 4,685
- 3
- 13
- 8
403
votes
40 answers
dyld: Library not loaded ... Reason: Image not found
When trying to run an executable I've been sent in Mac OS X, I get the following error
dyld: Library not loaded: libboost_atomic.dylib
Referenced from: /Users/"Directory my executable is in"
Reason: image not found
Trace/BPT trap:5
I have…

rwolst
- 12,904
- 16
- 54
- 75
309
votes
27 answers
OS X Framework Library not loaded: 'Image not found'
I am trying to create a basic OS X Framework, right now I just have a test framework created: TestMacFramework.framework and I'm trying to import it into a brand new OS X Application project.
I have built the .framework file and imported it into the…

Sammio2
- 7,422
- 7
- 34
- 49
251
votes
26 answers
Broken references in Virtualenvs
I recently installed a bunch of dotfiles on my Mac along with some other applications (I changed to iTerm instead of Terminal, and Sublime as my default text editor) but ever since, all my virtual environments have stopped working, although their…

oxtay
- 3,990
- 6
- 30
- 43
215
votes
36 answers
dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib
I get this error after adding a Swift class to an old Xcode project.
dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib
How can I make the project run again?

Anton
- 5,932
- 5
- 36
- 51
210
votes
15 answers
registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later
When trying to register for push notifications under iOS 8.x:
application.registerForRemoteNotificationTypes(UIRemoteNotificationType.Alert | UIRemoteNotificationType.Badge | UIRemoteNotificationType.Sound)
I get the following…

Wojtek Turowicz
- 4,086
- 3
- 27
- 38
136
votes
31 answers
Reason: no suitable image found
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /var/mobile/Containers/Bundle/Application/3FC2DC5C-A908-42C4-8508-1320E01E0D5B/Stylist.app/Stylist
Reason: no suitable image found. Did find:
…

Satsuki
- 2,166
- 5
- 17
- 33
128
votes
12 answers
How to resolve "dyld: Library not loaded: @executable_path.." error
I was trying to check the AWS-CLI version on my MAC OS X. And the below error hit back:
dyld: Library not loaded: @executable_path/../.Python
Referenced from: /usr/local/aws/bin/python
Reason: image not found
Abort trap: 6
Any relevant inputs…

Manogna Mujje
- 1,291
- 2
- 7
- 4
125
votes
11 answers
dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib with anything php related
Using any php application results in:
dyld: Library not loaded: /usr/local/lib/libpng15.15.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
[1] 4494 trace trap php
Most of my php applications were installed using homebrew with…

user3458861
- 1,271
- 2
- 9
- 8
109
votes
12 answers
dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
I have just updated to Xcode 7 and swift 2 and finished fixing the errors that come with the transition. I finally got the project to build, but after the launch screen I get an error saying:
dyld: Library not loaded:…

coracora
- 1,337
- 3
- 9
- 12
77
votes
9 answers
Xcode 10.2 Failed to Run App on Simulator with iOS < 10
I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:
dyld: Library not loaded: /usr/lib/libauto.dylib …

JyTee
- 929
- 1
- 6
- 7
71
votes
13 answers
ImageMagick and OS X Lion trouble
[edit] I was troubleshooting problems with my development environment when I noticed one of my problems was the dependency on ImageMagick, since it's a vital part of my app.
After upgrading to OS X Lion (10.7) i no longer had ImageMagick available,…

rroche
- 1,262
- 1
- 13
- 29
54
votes
1 answer
install_name_tool to update a executable to search for dylib in Mac OS X
I have a dynamic libray libtest.dylib that is installed in /PATH/lib, and an execution binary, myapp, that uses the dylib installed in /PATH/bin.
I can run myapp to find the dylib as follows (Is it OK to use DYLD_LIBRARY_PATH on Mac OS X? And,…

prosseek
- 182,215
- 215
- 566
- 871
49
votes
9 answers
Error loading library in mac terminal
Anyone please help..
How can I fix the following error:
dyld: Library not loaded: /usr/local/lib/libgdbm.4.dylib
Referenced from: /usr/local/bin/zsh
Reason: image not found

knz
- 499
- 1
- 4
- 5