There is some PassKit SPI that is API in iOS 14.
<rdar://problem/65695889>
Created attachment 404495 [details] Patch
Comment on attachment 404495 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404495&action=review > Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:330 > +#ifndef __PKPAYMENTMERCHANTSESSION_H__ This is not the ideal way to resolve this. Long term we would want to remove this block entirely. Doing it this way means we could end up keeping this forever.
(In reply to Darin Adler from comment #3) > Comment on attachment 404495 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=404495&action=review > > > Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:330 > > +#ifndef __PKPAYMENTMERCHANTSESSION_H__ > > This is not the ideal way to resolve this. Long term we would want to remove > this block entirely. Doing it this way means we could end up keeping this > forever. I agree, I only went with it because it will be temporary once we stop building iOS 13. The other option would be to have version checks for both iOS and watchOS, which seemed worse to me.
Adding both version checks is what would let us remove this eventually. Otherwise we will keep it forever and not remember why itβs there.
Created attachment 404531 [details] Patch
Created attachment 404537 [details] Patch
Committed r264506: <https://trac.webkit.org/changeset/264506> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404537 [details].