• 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
Private (embedded) Framework Interdependency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Private (embedded) Framework Interdependency


  • Subject: Private (embedded) Framework Interdependency
  • From: Josh <email@hidden>
  • Date: Mon, 5 Nov 2007 16:49:50 -0500

wish to embed the ogg and vobis frameworks in my app. Vorbis depends on Ogg, and tries to find it in /Library/Frameworks instead of MyApp.app/Frameworks

I've compiled the ogg and vorbis frameworks from source (the ogg.xcodeproj and vorbis.xcodeproj files were provided with the source).  I have set the "Installation Directory" property of the target in both of these projects to "@executable_path/../Frameworks". (I've noticed that now the inspector shows "<multiple values>" after I made this change, and if I try to edit the field, it is empty. Is this normal?)

In MyApp.xcodeproj, I have a build phase that copies these two frameworks into MyApp.app/Frameworks.

When I try and run MyApp on a 'clean' test machine (without the ogg or vorbis frameworks in /Library/Frameworks), I get this error:

------
dyld: Library not loaded: /Library/Frameworks/Ogg.framework/Versions/A/Ogg
  Referenced from: /Users/Me/Developer/MyApp/build/Release/MyApp.app/Contents/MacOS/../Frameworks/Vorbis.framework/Versions/A/Vorbis
  Reason: image not found
------

...vorbis is expecting to find ogg in /Library/Frameworks - even though I am compiling vorbis with it linking against the same ogg.framework that my app is linking against. 

I've noticed that the free program OggDrop.app contains the ogg and vorbis frameworks, so I know this is possible.  

What am I missing?

Thanks in advance.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: XCode 3.0 Project Templates
  • Next by Date: Re: Xcode 2.5 can't #include_next <stdarg.h>
  • Previous by thread: Re: Private (embedded) Framework Interdependency
  • Next by thread: DTrace Scripts Site
  • Index(es):
    • Date
    • Thread