• 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
Xcode 4.1 GM exception raised in PDFkit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 4.1 GM exception raised in PDFkit


  • Subject: Xcode 4.1 GM exception raised in PDFkit
  • From: Martin Hewitson <email@hidden>
  • Date: Mon, 01 Aug 2011 13:19:54 +0200

Dear list,

I think this is a bug, but I'd be interested in comments before I submit it.

1) Create a new Cocoa project in Xcode (no core-data, non-document).
2) Add a PDFview to the main window
3) Make an outlet property in the app delegate and connect to the PDFview
4) Add Quartz framework to the project
5) Include <Quartz/Quartz.h> in app delegate interface
6) In -applicationDidFinishLaunching: init a PDFDocument with some pdf file on disk
7) Set the pdf document to the PDFview

This all works fine.

Now switch on an "all exceptions" breakpoint and the app crashes. I actually came across this in a real app and was able to reproduce it with the simple attached project. If you run the app outside Xcode then it works fine (of course). This didn't happen in earlier versions of Xcode 4 on 10.6.

Cheers,

Martin


Attachment: TestPDFkit.zip
Description: Zip archive


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode 4.1 GM exception raised in PDFkit
      • From: Chris Idou <email@hidden>
    • Re: Xcode 4.1 GM exception raised in PDFkit
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: Submitting to the app store on Lion -- This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK.
  • Next by Date: Re: Xcode 4.1 GM exception raised in PDFkit
  • Previous by thread: Re: Submitting to the app store on Lion -- This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK.
  • Next by thread: Re: Xcode 4.1 GM exception raised in PDFkit
  • Index(es):
    • Date
    • Thread