• 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
Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Xcode 7.2.1 - Apps not running on 10.8 and 10.9 (From: Frank Bitterlich <email@hidden>)
 >Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9 (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
  • Next by Date: Re: question about last used date
  • Previous by thread: Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
  • Next by thread: Re: Xcode 7.2.1 - Apps not running on 10.8 and 10.9
  • Index(es):
    • Date
    • Thread