• 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
Re: Embedding frameworks problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding frameworks problem


  • Subject: Re: Embedding frameworks problem
  • From: Olivier Tristan <email@hidden>
  • Date: Fri, 13 Jul 2007 10:16:01 +0200

Randall Meadows wrote:
I have an application project that is dependent on about 9 frameworks, which I am trying to embed into the application bundle. I have set each project (the app and the frameworks) to use a shared build directory.

When the frameworks are built, most of them are built into the correct (well, expected anyway) directory, that being $SRCROOT/../../build/Debug/ (for the Debug config, of course). However, a couple of the frameworks are ending up in $SRCROOT/../../build/Uninstalled Products/ instead. I have compared one of these misbehaving projects with one that is behaving correctly, and I can find no difference that should account for this behavior. Tips, pointers, suggestions?

A second problem I have is, when running the application from Xcode, it runs just fine (I understand Xcode works some special magic here). But when I double-click the built app, I get a console message telling me that one of the frameworks could not be found. The message is "Library not loaded" and names one of the frameworks, but using a path into ~/Library/Frameworks/. I have confirmed that said framework is included in the application bundle; why is that location not being searched to find the framework?


Take a look at install_name_tool and/or the thread named "Using a dylib without installing it"


If there is something directly in Xcode, I would like to hear it too.

HTH

--
Olivier Tristan
Ultimate Sound Bank

_______________________________________________
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


References: 
 >Embedding frameworks problem (From: Randall Meadows <email@hidden>)

  • Prev by Date: Linking and cross-referenced static libraries
  • Next by Date: Listing only Writable files
  • Previous by thread: Embedding frameworks problem
  • Next by thread: Linking and cross-referenced static libraries
  • Index(es):
    • Date
    • Thread