Questions tagged [dyld]

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.

420 questions
609
votes
32 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
  • 24,145
  • 9
  • 35
  • 40
428
votes
50 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,325
  • 3
  • 10
  • 8
355
votes
37 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
  • 10,604
  • 13
  • 44
  • 67
295
votes
25 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,162
  • 7
  • 32
  • 48
248
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,732
  • 5
  • 24
  • 39
209
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
  • 3,978
  • 2
  • 23
  • 35
209
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,521
  • 5
  • 31
  • 51
133
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
  • 1,984
  • 4
  • 12
  • 27
123
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,251
  • 2
  • 8
  • 8
107
votes
9 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,081
  • 2
  • 5
  • 4
106
votes
11 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,307
  • 3
  • 9
  • 11
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
  • 921
  • 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,252
  • 1
  • 13
  • 29
49
votes
8 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
48
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
  • 155,475
  • 189
  • 518
  • 818
1
2 3
27 28