Re: Weird Problem with Embedding Frameworks
Re: Weird Problem with Embedding Frameworks
- Subject: Re: Weird Problem with Embedding Frameworks
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 10 Jun 2003 21:34:27 -0400
on 03-06-10 9:03 PM, Marc Weil at email@hidden wrote:
>
But now whenever I run the app, dyld complains that it can't find the
>
framework.
There are a trillion little settings you have to get right, and they're
scattered all over a dozen different dialogs and panes and panels. An
official checklist would be really great.
But, given the state of the existing documentation, you'll have to write
your own checklist. Every time I try to build a new app with a new embedded
framework, I run into that exact same dyld error, and I have to start from
scratch again to remember what I forgot to do.
There's a place in the framework project where you have to remember to check
a checkbox to make the headers public, but that doesn't sound like your
issue. It bites me every time, but I've finally learned to remember to do
that.
You have to get the framework search path right. Some are built in, but
others require that you add a path to your application project.
There's a Show Info dialog you have to open, where a pop-up menu lets you
choose to search for the framework in an absolute path, or a
project-relative path, or a couple of other options. I'm forever getting
that wrong, because sometimes I keep my framework in a centralized build
folder for all my projects (especially when I'm writing the framework and
the app at the same time), but sometimes I keep my framework adjacent to the
application source (especially when I'm writing a framework and a sample app
for distribution together).
Frequently, I just have to remember to manually trash the last build folder
before building a new one with a different build style. Somehow, I think
that might be the issue you're confronting.
Or maybe it's something else.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.