Mailing Lists: Apple Mailing Lists

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

Image not found from framework



I have a very strange (to me) problem. I have a Core Data application that contains two private frameworks. The frameworks do not contain any .nib files or other resources. When I run my app from xcode, the app works fine. However, when I double-click my app from the Finder, it immediately quits. I looked at the Console output, and it says

Link (dyld) error:
Library not loaded: /Users/bill/Library/Frameworks/ WindowWatching.framework/Versions/A/WindowWatching
Referenced from: /Modesitt Software/BackTrack/XCode/BackTrack source 3/build/Debug/BackTrack.app/Contents/MacOS/BackTrack
Reason: image not found


But the odd thing is, the frameworks contains no resources or images! Thinking there's something odd about that framework, I yank it out, comment out all references to it, and run the app from xcode, and it works. I double-click the app, and I get the same error, but referencing the other framework! I have cleaned the targets, deleted the Build folder, looked everywhere, but see nothing wrong. I have used these frameworks in other apps with no problem.

I haven't a clue 1) why it runs under xcode, but not by itself, 2) why the frameworks library doesn't load, and 3) why does the error say "image not found"?

Any clues would be appreciated!
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/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.