• 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
Framework problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Framework problem


  • Subject: Framework problem
  • From: Michael Swan <email@hidden>
  • Date: Wed, 24 May 2006 02:19:07 -0400

Does anyone have any ideas as to what I am doing wrong with a framework I am using? I get the following warning every time I clean the project:

dyld: Library not loaded: @executable_path/../Frameworks/LightsOn.framework/Versions/A/LightsOn
  Referenced from: /Users/michaelswan/MySrc/XLiteBasic/build/Debug/XLite Basic.app/Contents/MacOS/XLite Basic
  Reason: image not found

If I dig through to the app in the build folder and show package contents and then open 'Contents' add a folder named 'Frameworks' and put a copy of the framework in the folder myself it works. Here are the steps I used:

select the frameworks group
select 'Project' -> 'Add To Project...'
select the framework from the dialog
check 'Copy items into destination group's folder (if needed)'
Reference Type: Default
'Recursively create groups for any added folders'
the check box is selected under 'add to target'

Surely I am missing something, XCode can't possibly be that dumb of a program not to put things where it needs them.

thanks,
Mike Swan
Lighting Technician
http://web.mac.com/michaelswan



"Every experience in your life is an opportunity to learn something new and to make a change for your ultimate benefit."



 _______________________________________________
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

  • Follow-Ups:
    • Re: Framework problem
      • From: "James W. Walker" <email@hidden>
  • Prev by Date: Re: Newer GCC?
  • Next by Date: Re: Framework problem
  • Previous by thread: Re: When to use Stabs or DWARF?
  • Next by thread: Re: Framework problem
  • Index(es):
    • Date
    • Thread