• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Scott Thompson <email@hidden>
  • Date: Mon, 25 Jul 2005 08:49:54 -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


<snip>

What am I doing wrong?

The first thing you are doing wrong is linking to the framework in the wrong place. The home of system frameworks is /System/Library/ Frameworks.


Next, you're trying to link to the PDFKit framework directly instead of linking to the umbrella framework that contains it, Quartz.framework. Include this file in your project:

/System/Library/Frameworks/Quartz.framework

Then everywhere that you want to include a PDF kit file, include:

#include <Quartz/Quartz.h>

Instead.

Scott

P.S. Might I also suggest

<http://developer.apple.com/documentation/MacOSX/Conceptual/ OSX_Technology_Overview/index.html>

and in particular

<http://developer.apple.com/documentation/MacOSX/Conceptual/ OSX_Technology_Overview/SoftwareDevelopment/chapter_3_section_1.html>

_______________________________________________
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


References: 
 >Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: [newbie] applescript in cocoa
  • Next by Date: Easy Fetched Property question.
  • Previous by thread: Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
  • Next by thread: PackageMaker question
  • Index(es):
    • Date
    • Thread