• 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: Using new stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using new stuff


  • Subject: Re: Using new stuff
  • From: M Pulis <email@hidden>
  • Date: Wed, 16 Nov 2016 12:56:31 -0700

Thanks!
Gary
On Nov 16, 2016, at 12:44 PM, Aaron Tuller wrote:

Try using the partial availability warning in the Other Warning Flags build setting in Xcode:

-Wpartial-availability

I can't find a blog post about it (which is where I found it sometime ago), but it does indeed work in Xcode 7.3+. Here's the llvm commit:

http://llvm.org/viewvc/llvm-project?view=revision&revision=232750

-aaron


On Nov 14, 2016, at 5:03 PM, Gerriet M. Denkmann <email@hidden> wrote:

In some app I have some macOS 12 stuff, e.g.:

self.outlineView.stronglyReferencesItems = NO; // NS_AVAILABLE_MAC(10_12)

In Xcode 8.1 I did set the Deployment Target to macOS 11.
Compiles und builds without errors or warnings.

But of course the app crashes when run on macOS 11.

I tried changing the SDK but was offered the choice between “macOS 12” and “Latest (macOS 12)”.

How to find all places in my app where stuff not available before macOS 12 is used?

Gerriet.


_______________________________________________
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


_______________________________________________
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


_______________________________________________
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


References: 
 >Using new stuff (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Using new stuff (From: Aaron Tuller <email@hidden>)

  • Prev by Date: Re: Using new stuff
  • Next by Date: Re: Using new stuff
  • Previous by thread: Re: Using new stuff
  • Next by thread: Re: Using new stuff
  • Index(es):
    • Date
    • Thread