Re: Problem linking Framework to my App
Re: Problem linking Framework to my App
- Subject: Re: Problem linking Framework to my App
- From: Mark Munz <email@hidden>
- Date: Wed, 7 Apr 2004 21:51:08 -0600
On Apr 7, 2004, at 11:05 AM, Daniel Todd Currie wrote:
I've been having this problem for weeks and nobody seems to have an
answer. If you ever figure it out, let me know.
-- Daniel Currie
On 2004 Apr 07, at 08:48, Mark Munz wrote:
I'm having problems linking to a framework I've added to my
application. A couple obvious things:
- framework is setup correctly to run inside Application
@executable_path/../Frameworks
- framework gets copied to the Frameworks folder during the build
(via Copy Files)
- search path is the same as the other framework (I have a
MyFrameworks folder that holds 3rd party frameworks being used)
I have another framework that links w/o problem.
Am I forgetting an obvious step? Maybe I need a "Adding frameworks
checklist" with steps that need to be taken each time.
Xcode can't seem to find the objects referenced in the framework (w/
or w/o zerolink -- failure just happens at different times).
Daniel,
It turns out my problem was related to the fact that when I built the
3rd party Framework, I forgot to set the Style to Deployment.
When I rebuilt the application with the Deployment Style, I was able to
successfully link the application and frameworks together (go figure).
I think it would be really helpful if Xcode gave us a warning when it
is using ZeroLink since the results of the build can't really be used
anywhere outside the development space. Just my opinion. If I would
have seen a "Warning: Using ZeroLink -- may not contain symbols" or
some such error, I probably would have tracked this down a lot faster.
Mark
_______________________________________________
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.