Re: Strange app crash

2016-01-01 Thread Graham Cox
> On 2 Jan 2016, at 1:26 PM, SevenBits wrote: > > here’s a screenshot from Xcode You can copy any text from Xcode and paste it into an email. Same for a crash report or log output. There’s no reason to take a screenshot and make everyone run around just to get a look at it (and you can’t at

Re: Strange app crash

2016-01-01 Thread Roland King
> On 2 Jan 2016, at 10:54, SevenBits wrote: > > Okay, I reproduced the error. Setting an exception breakpoint didn’t help; > the app crashes anyway, leading me to believe that the problem either a) is > not an uncaught exception or b) it is an exception, but occurs before the > ObjC runtime i

Re: Strange app crash

2016-01-01 Thread Alex Zavatone
Am I correct in assuming that it's throwing an exception before it's drawn the first window? If that is the case, check your window XIB. It's possible that you have something mis-wired there. If you replace your first XIB with a placeholder, does the problem go away? On Jan 1, 2016, at 9:54

Re: Strange app crash

2016-01-01 Thread SevenBits
Okay, I reproduced the error. Setting an exception breakpoint didn’t help; the app crashes anyway, leading me to believe that the problem either a) is not an uncaught exception or b) it is an exception, but occurs before the ObjC runtime is initialized. I’ve run the app outside of Xcode and got

Re: Strange app crash

2016-01-01 Thread SevenBits
Okay, trying to reproduce… > On Jan 1, 2016, at 9:31 PM, Roland King wrote: > > >> On 2 Jan 2016, at 10:26, SevenBits wrote: >> >> OS X. >> >> Sorry, it’s been a frustrating process. >> >> I’m working on gathering the other info; in the meantime, here’s a >> screenshot from Xcode at the mo

Re: Strange app crash

2016-01-01 Thread Roland King
> On 2 Jan 2016, at 10:26, SevenBits wrote: > > OS X. > > Sorry, it’s been a frustrating process. > > I’m working on gathering the other info; in the meantime, here’s a screenshot > from Xcode at the moment that crash happens: http://i.imgur.com/i7qsNOQ.png?1 > Looks more like an uncaught e

Fwd: Strange app crash

2016-01-01 Thread SevenBits
OS X. Sorry, it’s been a frustrating process. I’m working on gathering the other info; in the meantime, here’s a screenshot from Xcode at the moment that crash happens: http://i.imgur.com/i7qsNOQ.png?1 > Begin forwarded message: > > From: SevenBits > Subject: Re: Strange app crash > Date: Ja

Re: Strange app crash

2016-01-01 Thread Roland King
> On 2 Jan 2016, at 10:14, SevenBits wrote: > > Hi list, > > Xcode has decided not to cooperate with me. > > My latest app is crashing constantly when I launch it. It crashes > immediately, without showing any UI or starting the app delegate, so I know > that my code isn’t the cause. The app

Re: Strange app crash

2016-01-01 Thread Alex Zavatone
Mac OS or iOS? You state there is a crash, but don't supply a crash log or tell us what type of a crash it is. How do you expect us to help you? Help us help you. On Jan 1, 2016, at 9:14 PM, SevenBits wrote: > Hi list, > > Xcode has decided not to cooperate with me. > > My latest app is cra

Strange app crash

2016-01-01 Thread SevenBits
Hi list, Xcode has decided not to cooperate with me. My latest app is crashing constantly when I launch it. It crashes immediately, without showing any UI or starting the app delegate, so I know that my code isn’t the cause. The app will be able to run 3 or 4 times before this happens. This di

Re: CG Error with popovers - known issue?

2016-01-01 Thread Alex Kac
We’ve seen the same issue. So its definitely an OS X issue. >> On 31 Dec 2015, at 9:32 AM, Jonathan Mitchell >> wrote: >> >> I am seeing the exact same issue with NSPopover on 10.11. >> The stack trace is identical. >> Did you manage to make any further progress with this? >> > > > Not reall

Re: App refuses to launch after adding iCloud Drive support

2016-01-01 Thread Quincey Morris
On Jan 1, 2016, at 01:19 , Graham Cox wrote: > > It’s not essential that I do this - presumably the user can add folders as > they wish, but since iApps and other Apple apps do this, it would be nice to > follow suit. According to this thread on the developer forums: https://forums.de

Re: Getting key data out of the keychain

2016-01-01 Thread Chris Ridd
> On 1 Jan 2016, at 13:09, Andreas Mayer wrote: > > But I *still* don't know how to get at the key bytes of a SecKeyRef. :P Try asking on the apple-cdsa mailing list. It covers the security frameworks in OS X, including (hence the historical name) CDSA. Chris _

Re: Getting key data out of the keychain

2016-01-01 Thread Andreas Mayer
Hello Marco, > Am 31.12.2015 um 19:23 schrieb Marco S Hyman : > > After much play, head scratching, and code that managed to add a bogus entry > to the keychain that couldn’t be deleted (time machine to the rescue) I came > up with one way to add an entry to the keychain and retrieve the entry:

Re: App refuses to launch after adding iCloud Drive support

2016-01-01 Thread Graham Cox
Hmmm, maybe I spoke too soon. My app appears to be able to access iCloud Drive. Adding/removing the magic stuff to info.plist appears NOT to make any difference to this, though caching somewhere might be skewing the true picture, don’t know. What I’d quite like to do is to follow the recommenda