Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Framework problem



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



"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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.