executable_path

Discussion in 'Mac Programming' started by MrFusion, Dec 25, 2008.

  1. MrFusion macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #1
    Hi everyone,

    vacation time = messing around with cocoa

    I am trying once more to get embedded frameworks to work.
    I was wondering if $executable_path/../Frameworks is still correct. Or that the online forums are a bit outdated, and that "executable_path" has been changed with another keyword.

    I know that my framework is copied into the Frameworks path of my app bundle, but the app is still complaining that the library can not be found.
    Code:
    dyld: Library not loaded: $executable_path/../Frameworks/MyFramework.framework/Versions/A/MyFramework
      Referenced from: /Users/useraccount/Developer/MyApp/build/Debug/MyApp.app/Contents/MacOS/MyApp
      Reason: image not found
    
    The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).
    
    
    Enjoy the holidays.
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
  3. MrFusion thread starter macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #3
    and so it is...

    Thanks!
     

Share This Page