Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
- Subject: Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
- From: glenn andreas <email@hidden>
- Date: Sun, 24 Jul 2005 18:40:00 -0500
On Jul 24, 2005, at 6:08 PM, Frederick C. Lee wrote:
Greetings:
I've downloaded 'PDFKitLinker2" example code from the following
site:
http://developer.apple.com/samplecode/PDFKitLinker2/PDFKitLinker2.html
The project had pointed to a non-existent directory so I removed it
from the framework's search path.
But the program still needs to find the PDFKit.framework.
I hard-code a direct path to the PDFKit.framework via the 'Get
Info' menu item of PDFkit.framework (found in the project's
frameworks folder):
{Path Type = Absolute Path, File Type = wrapper.framework}
/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/
Quartz.framework/Versions/A/Frameworks/PDFKit.framework
You should never link with anything inside an umbrella framework (in
this case Quartz.framework), but rather the umbrella framework itself.
Remove PDFKit.framework from you project, and then just add
Quartz.framework, and everything should work (and yes, the example
linking to an external copy of the PDFKit.framework appears to be a
mistake).
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden