Created attachment 442736 [details] Build log showing error Compiling at ToT: https://commits.webkit.org/243641@main Running Tools/Scripts/build-webkit on macOS 11.6.1 with Xcode 13.1, getting a compiler error: 'AVDelegatingPlaybackCoordinator' is only available on macOS 12.0 or newer Build log attached.
*** This bug has been marked as a duplicate of bug 226235 ***
This is not a dupe of that other bug...
Created attachment 445672 [details] Patch
Comment on attachment 445672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445672&action=review > Source/WTF/wtf/PlatformHave.h:1100 > +#define HAVE_DELEGATING_PLAYBACK_COORDINATOR 1 I would go with HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR. Also you don't need review for this kind of stuff > Source/WebCore/PAL/ChangeLog:8 > + * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it Weird? What about AT LEAST the SOFT_LINK_CLASS_FOR_SOURCE?
Created attachment 445683 [details] PFL
(In reply to Tim Horton from comment #4) > Comment on attachment 445672 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=445672&action=review > > > Source/WTF/wtf/PlatformHave.h:1100 > > +#define HAVE_DELEGATING_PLAYBACK_COORDINATOR 1 > > I would go with HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR. Also you don't need > review for this kind of stuff > > > Source/WebCore/PAL/ChangeLog:8 > > + * pal/cocoa/AVFoundationSoftLink.h: Don't softlink on platforms that don't have it > > Weird? What about AT LEAST the SOFT_LINK_CLASS_FOR_SOURCE? Because of the weird shenanigans in play causing the error... HEADER is all that's needed?
Comment on attachment 445683 [details] PFL View in context: https://bugs.webkit.org/attachment.cgi?id=445683&action=review > Source/WTF/wtf/PlatformHave.h:1104 > +#if PLATFORM(COCOA) > +#define HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR 1 > +#endif > +#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 120000 > +#undef HAVE_AV_DELEGATING_PLAYBACK_COORDINATOR > +#endif Also why is this not all just one condition?
Committed r286420 (244766@main): <https://commits.webkit.org/244766@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445683 [details].
<rdar://problem/85960239>
Re-opened since this is blocked by bug 233762