• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
location of frameworks at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

location of frameworks at runtime


  • Subject: location of frameworks at runtime
  • From: Olof Hellman <email@hidden>
  • Date: Sat, 6 Dec 2003 03:34:39 -0800

I'm trying to understand how a framework gets loaded at runtime. Specifically, I have a two piece project which consists of a framework and an application, both built in XCode.

If I put the framework inside the application bundle in the Frameworks directory at .../myApp.app/Contents/Frameworks/ the app won't launch -- I get a ' can't open library: /Library/Frameworks/myApp.framework/Versions/A/myApp ' message in the console

If I put the framework in /Library/Frameworks/ , then the app launches fine.

Even more curiously, XCode is happy to debug the application without the framework in either location -- as long as XCode knows the path to the framework it is using.

So the question is, what do I need to do to get a Framework in .../myApp.app/Contents/Frameworks/ to load at runtime? I am under the impression that this is the appropriate folder for application-specific support libraries to go.

- Olof
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: location of frameworks at runtime
      • From: Chris Hanson <email@hidden>
    • Re: location of frameworks at runtime
      • From: Robert Cerny <email@hidden>
    • Re: location of frameworks at runtime
      • From: Michael Monscheuer <email@hidden>
  • Prev by Date: Re: First click ignored
  • Next by Date: Re: location of frameworks at runtime
  • Previous by thread: Re: For loop shenanigans (update)
  • Next by thread: Re: location of frameworks at runtime
  • Index(es):
    • Date
    • Thread