• 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: 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


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: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
  • Next by Date: Re: Asynchronous WSMethodInvocations [solved?]
  • Previous by thread: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
  • Next by thread: Re: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
  • Index(es):
    • Date
    • Thread