• 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: App can't be opened
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App can't be opened


  • Subject: Re: App can't be opened
  • From: Matt Jacobson via Cocoa-dev <email@hidden>
  • Date: Wed, 15 Sep 2021 12:02:31 -0400

Hey,

> On Sep 15, 2021, at 11:38 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> Thanks so much! I guess that missing symbol explains the crash.
>
> BTW: is it possible, to make Xcode produce an error message when I am using
> symbols that are not available on the deployment target?
> (unless they are guarded by @available() ...)

Normally, that does happen automatically.

However, in this case, it appears that AVAudioSessionInterruptionNotification
is missing an availability annotation for macOS.  The compiler interprets this
as meaning “symbol is always available” and doesn’t warn you.

Since the online docs say that AVAudioSessionInterruptionNotification only
became publicly available in macOS 11.0, I suspect this is a bug in the
AVFAudio headers.  (This is a somewhat frequent occurrence as iOS APIs get
moved over to macOS—often to support Catalyst—without a thorough audit of the
headers.)

Matt
_______________________________________________

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

  • Follow-Ups:
    • Re: App can't be opened
      • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
References: 
 >App can't be opened (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)
 >Re: App can't be opened (From: Rob Petrovec via Cocoa-dev <email@hidden>)
 >Re: App can't be opened (From: Jack Brindle via Cocoa-dev <email@hidden>)
 >Re: App can't be opened (From: Carl Hoefs via Cocoa-dev <email@hidden>)
 >Re: App can't be opened (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Sandboxing for .saver bundles changed in Security Update 2021-005 ?
  • Next by Date: Re: App can't be opened
  • Previous by thread: Re: App can't be opened
  • Next by thread: Re: App can't be opened
  • Index(es):
    • Date
    • Thread