Dyld Library Not Loaded Reason Image Not Found

OS X Framework Library not loaded: 'Image not found'

  • Dyld: Library not loaded: /usr/lib/libltdl.7.dylib Referenced from: /usr/local/bin/php Reason: image not found Error: No available formula for zlib The file libltdl.7.dylib is not in my /usr/lib directory, but there are several other.dylib files.
  • Dyld: Library not loaded: /usr/lib/libauto.dylib (Simulator 9.3/Xcode10.2) You’re now watching this thread and will receive emails when there’s activity. Click again to stop watching or visit your profile/homepage to manage your watched threads.
  • Dyld: Library not loaded: @rpath/libmklintellp64.dylib Jump to solution I am on High Sierra (OS X 10.13), and this is my first time I am using the Intel MKL.
  • IOS -App Crash on Launch dyld: Library not loaded, Reason: image not found. Reason: image not found Xcode is 8.3.1. Note - Added IMA SDK manually to project.
  • Sammio2
  • 2014-07-28 10:56
  • 9

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.

Jul 26, 2015 I should try reading all the text in read me files next time I guess. But if I try running this in XCode it will crash for some reason. (Makes sense because it says dyld: Library not loaded and we just put it in /Library/Frameworks).

I have built the .framework file and imported it into the new project, The framework appears to link okay, and I can reference the public header file I added to the framework build phases section.

However, when I try to run the container Application I get the following Error:

After a bit of googling I realised I needed to add a Copy Files section to my container application build phases, so I have done this and set it up like so...

Loaded

Dyld Library Not Loaded Reason Image Not Found On Computer

However, I am still getting the runtime error. I'm obviously doing something wrong here, but the Apple developer library resource for this references Xcode 2, so isn't very helpful!

What have I missed?

UPDATE:

Loaded

I can see in the build log that my TestMacFramework.framework is being copied into the .app contents/frameworks directory, but it isn't being installed to the Library/Frameworks directory on the HD

Dyld Library Not Loaded Reason Image Not Found Xcode 11

UPDATE 2:

Dyld Library Not Loaded Reason Image Not Found Image

The build links correctly if I manually copy the TestMacFramework.framework into the Library/Frameworks directory