Re: problem adding a custom framework
Re: problem adding a custom framework
- Subject: Re: problem adding a custom framework
- From: email@hidden
- Date: Fri, 20 Apr 2007 14:26:19 -0400
On Apr 20, 2007, at 12:28 PM, email@hidden wrote:
I'm just getting started with Xcode and Cocoa and am trying to add
a custom framework to my application (I've added a system framework
for CoreImage w/o any problems). In case it matters, what I'm
trying to add is the QuickLite framework at http://www.webbo.com
As a side note, is there a built-in Cocoa way to read from a SQLite
database into Objective-C Foundation classes? The database is
created from a Python program so I didn't want to jump in and learn
to use use CoreData yet.
I downloaded QuickLite and compiled the framework and it works with
the example programs that come with it; however, when I try to use
it in my own project, it compiles but will not run. I get the
following error.
QuartzImage has exited due to signal 5 (SIGTRAP).
[Session started at 2007-04-20 12:08:05 -0400.]
dyld: Library not loaded: @executable_path/../Frameworks/
QuickLite.framework/Versions/A/QuickLite
Referenced from: /Users/dreed/Projects/QuartzImage/build/Debug/
QuartzImage.app/Contents/MacOS/QuartzImage
Reason: image not found
QuartzImage has exited due to signal 5 (SIGTRAP).
I assume that has to do with how I added it to the project, but I
can't figure it out. I tried adding it as an absolute path to the
location where I downloaded QuickLite and I also tried copying
those files into my project. I'm not certain what @executable_path
refers to - is it the Debug directory containing QuartzImage.app or
is the MacOS/QuartzImage directory?
In the Projects/QuartzImage, I have the directory
QuickLite.Framework which has Versions/A/QuickLite
I don't have a FrameWorks directory containing QuickLite - do I
need to create that manually - I figure there has to be a way to do
this cleanly w/ Xcode, but I can't figure it out.
By looking at one of the examples that came with it, it appears I
should have a:
/Users/dreed/Projects/QuartzImage/build/Debug/QuartzImage.app/
Contents/Frameworks directory containing the QuickLite.Framework
directory. When I create the Contents/Frameworks directory and
symlink the QuickLite.Framework into it, it runs.
Why is Xcode not making that as part of the target? Under
OtherFrameworks in the Xcode GUI, I have QuickLite.Framework.
Thanks,
Dave
_______________________________________________
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