Xcode 4.1 GM exception raised in PDFkit
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