Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
- Subject: Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
- From: Jonathan Mitchell <email@hidden>
- Date: Wed, 16 Mar 2016 10:29:14 +0000
> On 16 Mar 2016, at 07:02, Quincey Morris <email@hidden> wrote:
>
> On Mar 7, 2016, at 09:29 , Frank Bitterlich <email@hidden> wrote:
>>
>> Does anybody have a suggestion what this could be?
>
> It sort of sounds like your main XIB or storyboard is failing to load. Possibly your file is set to compile for a later version of OS X than your deployment target.
In my case I had refactored which resulted in a nil nib name being sent to an NSViewController designated initialiser
- (nullable instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil
On 10.10 and higher, a nil nibName can be used, and NSViewController will automatically attempt to load a view with the same class name. See loadView for more information.
On 10.9 and below sending a nil nib name causes unreliable behaviour - IIRC It may be that the last nib loaded gets reused.
J
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden