Following up on this, I was able to compile my test app so that it runs on 
10.6.8. And indeed the bug is still there.  Very strange. This is a most 
trivial test app - load a pdf into a pdfview. When compiled on 10.9 with Xcode 
5.0.2, the pages of the pdf do not refresh when scrolling (they remain blank) 
on 10.6.8.  I tried enabling and disabling the core animation layer for the 
PDFView and also its superview, but to no effect.

I guess it’s time to use a DTS ticket.

Cheers,

Martin


On 16 Nov 2013, at 08:01 am, Martin Hewitson <martin.hewit...@aei.mpg.de> wrote:

> Michael,
> 
> Thanks for the clue. On closer inspection, I do indeed get those warnings, so 
> I deselected those 'base' localisations, and will try this again as soon as I 
> have access to a 10.6.8 machine. I’m really hoping that this test app shows 
> that the PDFView problem is somehow a bug, because I tried rolling my app 
> back to the last version that did work on 10.6.8 (2 point releases ago), but 
> the problem persisted. Yet if I download the older version from my website 
> then it runs fine on 10.6.8, so it’s clearly a build issue of some kind.
> 
> Thanks!
> 
> Martin
> 
> 
> On 15 Nov 2013, at 08:54 pm, Michael Babin <mba...@orderndev.com> wrote:
> 
>> On Nov 14, 2013, at 7:09 AM, Martin Hewitson <martin.hewit...@aei.mpg.de> 
>> wrote:
>> 
>>> Continuing the discussion with only myself, so far….
>>> 
>>> I had the idea to make a trivial test app which just has a PDFView and a 
>>> “Load” button. 
>>> 
>>> So I created the app on 10.9 with Xcode 5.0.2. It’s just a vanilla 
>>> NSDocument app with a PDFView and a button. Compiles and runs fine on 10.9.
>>> 
>>> So then I thought I will change the Deployment Target to 10.6.8, the Base 
>>> SDK to 10.8, and I switched off auto layout for both the document nib and 
>>> the main menu nib, and also set them to build for 10.6 and later.
>>> 
>>> Archived the app and distributed as just an unsigned application.
>>> 
>>> Copied to the 10.6.8 test machine, and the app won’t run. I get the console 
>>> error:
>>> 
>>> "unable to load nib file: MainMenu, exiting”
>>> 
>>> I then dug through the build settings of the main app that’s giving me 
>>> these PDFView problems, but I don’t see anything different there. Clearly 
>>> I’m missing something, can someone spot what it is?
>> 
>> For the vanilla NSDocument app (created on 10.9 with Xcode 5.0.2), did you 
>> remove the Base localization of your xib files (MainMenu and document)? If I 
>> build without doing so, I get warnings of the form:
>> 
>> "Internationalization of <xib file path> is not available when compiling for 
>> targets before Mac OS X 10.8”
>> 
>> Trying to run the built application on 10.6.8 produces the results you 
>> reported above. Once I removed the Base localization of each xib file, the 
>> built application runs without problem on 10.6.8.
>> 
>> 
>> 






_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to