[iOS 13] Enable WebKit build
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Jul 2019 17:17:58 +0000 (17:17 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Jul 2019 17:17:58 +0000 (17:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=199481
<rdar://problem/52619048>

Reviewed by Tim Horton.

Source/WebCore:

No new tests, iOS 13 test expectations will be migrated in the near future.

* platform/ios/LocalCurrentTraitCollection.mm:
(WebCore::LocalCurrentTraitCollection::LocalCurrentTraitCollection): Remove underscore from currentTraitCollection.
(WebCore::LocalCurrentTraitCollection::~LocalCurrentTraitCollection): Remove underscore from setCurrentTraitCollection.

Source/WebCore/PAL:

* pal/spi/cocoa/NSProgressSPI.h: We need the NSProgress SPI in public builds because NSProgress API
is marked unavailable on iOS, watchOS and tvOS.
* pal/spi/ios/CoreUISPI.h: Add CUIStyleEffectConfiguration.appearanceName SPI.
* pal/spi/ios/DataDetectorsUISPI.h: Add UIContextMenuConfiguration.contextMenuConfigurationForURL SPI.
* pal/spi/ios/SystemPreviewSPI.h: Add ARQuickLookWebKitItem.initWithPreviewItemProvider SPI.
* pal/spi/ios/UIKitSPI.h: Add systemBrownColor, UIColor.tableCellDefaultSelectionTintColor should be marked nullable.
* pal/spi/mac/AVFoundationSPI.h: Add AVOutputDevice.name SPI.

Source/WebKit:

* Platform/spi/ios/UIKitSPI.h: Add UITextEffectsWindow.sharedTextEffectsWindowForWindowScene SPI.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView showGlobalMenuControllerInRect:]): setTargetRect, setMenuVisible marked depreciated in iOS 13.
(-[WKContentView hideGlobalMenuController]): Ditto.

Tools:

* TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Add iOS framework stubs.

WebKitLibraries:

Added iOS 13 framework stubs, used tbd version 3 in all new stubs.

* WebKitPrivateFrameworkStubs/iOS/13: Added.
* WebKitPrivateFrameworkStubs/iOS/13/AppSupport.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/AssertionServices.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/AuthKit.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/CorePDF.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/CorePrediction.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/GraphicsServices.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/SafariSafeBrowsing.framework: Added.
* WebKitPrivateFrameworkStubs/iOS/13/URLFormatting.framework: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

23 files changed:
Source/WebCore/ChangeLog
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cocoa/NSProgressSPI.h
Source/WebCore/PAL/pal/spi/ios/CoreUISPI.h
Source/WebCore/PAL/pal/spi/ios/DataDetectorsUISPI.h
Source/WebCore/PAL/pal/spi/ios/SystemPreviewSPI.h
Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h
Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h
Source/WebCore/platform/ios/LocalCurrentTraitCollection.mm
Source/WebKit/ChangeLog
Source/WebKit/Platform/spi/ios/UIKitSPI.h
Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
Tools/ChangeLog
Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig
WebKitLibraries/ChangeLog
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AppSupport.framework/AppSupport.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AssertionServices.framework/AssertionServices.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AuthKit.framework/AuthKit.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePDF.framework/CorePDF.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePrediction.framework/CorePrediction.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/GraphicsServices.framework/GraphicsServices.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd [new file with mode: 0644]
WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/URLFormatting.framework/URLFormatting.tbd [new file with mode: 0644]

index 79b25c8..601a6b1 100644 (file)
@@ -1,3 +1,17 @@
+2019-07-11  Jonathan Bedard  <jbedard@apple.com>
+
+        [iOS 13] Enable WebKit build
+        https://bugs.webkit.org/show_bug.cgi?id=199481
+        <rdar://problem/52619048>
+
+        Reviewed by Tim Horton.
+
+        No new tests, iOS 13 test expectations will be migrated in the near future.
+
+        * platform/ios/LocalCurrentTraitCollection.mm:
+        (WebCore::LocalCurrentTraitCollection::LocalCurrentTraitCollection): Remove underscore from currentTraitCollection.
+        (WebCore::LocalCurrentTraitCollection::~LocalCurrentTraitCollection): Remove underscore from setCurrentTraitCollection.
+
 2019-07-11  Chris Dumez  <cdumez@apple.com>
 
         Fix non thread-safe usage of makeWeakPtr() in MediaPlayerPrivateMediaFoundation
index a6277f6..320cada 100644 (file)
@@ -1,3 +1,19 @@
+2019-07-11  Jonathan Bedard  <jbedard@apple.com>
+
+        [iOS 13] Enable WebKit build
+        https://bugs.webkit.org/show_bug.cgi?id=199481
+        <rdar://problem/52619048>
+
+        Reviewed by Tim Horton.
+
+        * pal/spi/cocoa/NSProgressSPI.h: We need the NSProgress SPI in public builds because NSProgress API
+        is marked unavailable on iOS, watchOS and tvOS.
+        * pal/spi/ios/CoreUISPI.h: Add CUIStyleEffectConfiguration.appearanceName SPI.
+        * pal/spi/ios/DataDetectorsUISPI.h: Add UIContextMenuConfiguration.contextMenuConfigurationForURL SPI.
+        * pal/spi/ios/SystemPreviewSPI.h: Add ARQuickLookWebKitItem.initWithPreviewItemProvider SPI.
+        * pal/spi/ios/UIKitSPI.h: Add systemBrownColor, UIColor.tableCellDefaultSelectionTintColor should be marked nullable.
+        * pal/spi/mac/AVFoundationSPI.h: Add AVOutputDevice.name SPI.
+
 2019-07-10  Alex Christensen  <achristensen@webkit.org>
 
         Allow CMake to build WebCore on Mac
index e07d061..f7f32ee 100644 (file)
 
 #pragma once
 
-#define USE_NSPROGRESS_PUBLISHING_SPI ((PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED < 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED < 60000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED < 130000))
-
-#if USE(NSPROGRESS_PUBLISHING_SPI)
-
 #if USE(APPLE_INTERNAL_SDK)
 
+#define USE_NSPROGRESS_PUBLISHING_SPI ((PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED < 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED < 60000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED < 130000))
 #import <Foundation/NSProgress_Private.h>
 
 #else
 
+#define USE_NSPROGRESS_PUBLISHING_SPI PLATFORM(IOS_FAMILY) || PLATFORM(WATCHOS) || PLATFORM(APPLETV)
+
+#if USE_NSPROGRESS_PUBLISHING_SPI
+
 @interface NSProgress ()
 
 - (void)_publish;
@@ -44,6 +45,6 @@
 
 @end
 
-#endif // not USE(APPLE_INTERNAL_SDK)
+#endif // USE_NSPROGRESS_PUBLISHING_SPI
 
-#endif // USE(NSPROGRESS_PUBLISHING_SPI)
+#endif // not USE(APPLE_INTERNAL_SDK)
index c221ebe..e656174 100644 (file)
@@ -39,6 +39,7 @@
 
 @interface CUIStyleEffectConfiguration ()
 @property (nonatomic) BOOL useSimplifiedEffect;
+@property (nonatomic, copy) NSString *appearanceName;
 @end
 
 @interface CUICatalog : NSObject
index 82ba503..5c2a5a1 100644 (file)
@@ -53,6 +53,7 @@
 @class UIContextMenuConfiguration;
 @interface DDContextMenuAction
 + (UIContextMenuConfiguration *)contextMenuConfigurationWithURL:(NSURL *)URL inView:(UIView *)view context:(NSDictionary *)context menuIdentifier:(NSString *)menuIdentifier;
++ (UIContextMenuConfiguration *)contextMenuConfigurationForURL:(NSURL *)URL identifier:(NSString *)identifier selectedText:(NSString *)selectedText results:(NSArray *) results inView: (UIView *) view context:(NSDictionary *)context menuIdentifier:(NSString *)menuIdentifier;
 @end
 #endif
 
index bec7f90..274de01 100644 (file)
@@ -55,9 +55,9 @@
 @class ARQuickLookWebKitItem;
 
 @interface ARQuickLookWebKitItem : QLItem
-- (instancetype)initWithPreviewItemProvider:(NSItemProvider *_Nonnull)itemProvider contentType:(NSString *_Nonnull)contentType previewTitle:(NSString *_Nonnull)previewTitle fileSize:(NSNumber *_Nonnull)fileSize previewItem:(ARQuickLookPreviewItem *)previewItem;
+- (instancetype)initWithPreviewItemProvider:(NSItemProvider *)itemProvider contentType:(NSString *)contentType previewTitle:(NSString *)previewTitle fileSize:(NSNumber *)fileSize previewItem:(ARQuickLookPreviewItem *)previewItem;
 @end
-#endif
 
 #endif
 
+#endif
index 9b5e5a3..50c174b 100644 (file)
@@ -66,8 +66,6 @@ WTF_EXTERN_C_END
 #import <UIKit/NSItemProvider+UIKitAdditions.h>
 #endif
 
-NS_ASSUME_NONNULL_BEGIN
-
 typedef NS_ENUM(NSInteger, UIApplicationSceneClassicMode) {
     UIApplicationSceneClassicModeOriginalPad = 4,
 };
@@ -109,6 +107,7 @@ typedef enum {
 @interface UIColor ()
 
 + (UIColor *)systemBlueColor;
++ (UIColor *)systemBrownColor;
 + (UIColor *)systemGrayColor;
 + (UIColor *)systemGreenColor;
 + (UIColor *)systemOrangeColor;
@@ -140,11 +139,9 @@ typedef enum {
 + (UIViewController *)viewControllerForView:(UIView *)view;
 @end
 
-NS_ASSUME_NONNULL_END
-
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
 @interface NSURL ()
-@property (nonatomic, copy, nullable, setter=_setTitle:) NSString *_title;
+@property (nonatomic, copy, setter=_setTitle:) NSString *_title;
 @end
 #endif
 
index 332d6c8..9f91bd5 100644 (file)
@@ -69,6 +69,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 @class AVOutputContext;
 @class AVOutputDevice;
+
 @interface AVOutputContext : NSObject <NSSecureCoding>
 @property (nonatomic, readonly) NSString *deviceName;
 + (instancetype)outputContext;
@@ -77,6 +78,10 @@ NS_ASSUME_NONNULL_BEGIN
 @property (readonly) NSArray<AVOutputDevice *> *outputDevices;
 @end
 
+@interface AVOutputDevice : NSObject
+@property (nonatomic, readonly) NSString *name;
+@end
+
 #if !PLATFORM(IOS_FAMILY)
 @interface AVPlayer (AVPlayerExternalPlaybackSupportPrivate)
 @property (nonatomic, retain, nullable) AVOutputContext *outputContext;
index f906701..4fbcadc 100644 (file)
@@ -34,7 +34,7 @@ namespace WebCore {
 LocalCurrentTraitCollection::LocalCurrentTraitCollection(bool useDarkAppearance, bool useElevatedUserInterfaceLevel)
 {
 #if HAVE(OS_DARK_MODE_SUPPORT)
-    m_savedTraitCollection = [PAL::getUITraitCollectionClass() _currentTraitCollection];
+    m_savedTraitCollection = [PAL::getUITraitCollectionClass() currentTraitCollection];
     m_usingDarkAppearance = useDarkAppearance;
     m_usingElevatedUserInterfaceLevel = useElevatedUserInterfaceLevel;
 
@@ -42,7 +42,7 @@ LocalCurrentTraitCollection::LocalCurrentTraitCollection(bool useDarkAppearance,
     auto backgroundLevelTrait = [PAL::getUITraitCollectionClass() traitCollectionWithUserInterfaceLevel:m_usingElevatedUserInterfaceLevel ? UIUserInterfaceLevelElevated : UIUserInterfaceLevelBase];
     auto newTraitCollection = [PAL::getUITraitCollectionClass() traitCollectionWithTraitsFromCollections:@[ m_savedTraitCollection.get(), userInterfaceStyleTrait, backgroundLevelTrait ]];
 
-    [PAL::getUITraitCollectionClass() _setCurrentTraitCollection:newTraitCollection];
+    [PAL::getUITraitCollectionClass() setCurrentTraitCollection:newTraitCollection];
 #else
     UNUSED_PARAM(useDarkAppearance);
     UNUSED_PARAM(useElevatedUserInterfaceLevel);
@@ -52,11 +52,11 @@ LocalCurrentTraitCollection::LocalCurrentTraitCollection(bool useDarkAppearance,
 LocalCurrentTraitCollection::LocalCurrentTraitCollection(UITraitCollection *traitCollection)
 {
 #if HAVE(OS_DARK_MODE_SUPPORT)
-    m_savedTraitCollection = [PAL::getUITraitCollectionClass() _currentTraitCollection];
+    m_savedTraitCollection = [PAL::getUITraitCollectionClass() currentTraitCollection];
     m_usingDarkAppearance = traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark;
     m_usingElevatedUserInterfaceLevel = traitCollection.userInterfaceLevel == UIUserInterfaceLevelElevated;
 
-    [PAL::getUITraitCollectionClass() _setCurrentTraitCollection:traitCollection];
+    [PAL::getUITraitCollectionClass() setCurrentTraitCollection:traitCollection];
 #else
     UNUSED_PARAM(traitCollection);
 #endif
@@ -65,7 +65,7 @@ LocalCurrentTraitCollection::LocalCurrentTraitCollection(UITraitCollection *trai
 LocalCurrentTraitCollection::~LocalCurrentTraitCollection()
 {
 #if HAVE(OS_DARK_MODE_SUPPORT)
-    [PAL::getUITraitCollectionClass() _setCurrentTraitCollection:m_savedTraitCollection.get()];
+    [PAL::getUITraitCollectionClass() setCurrentTraitCollection:m_savedTraitCollection.get()];
 #endif
 }
 
index a376b69..02f1374 100644 (file)
@@ -1,3 +1,16 @@
+2019-07-11  Jonathan Bedard  <jbedard@apple.com>
+
+        [iOS 13] Enable WebKit build
+        https://bugs.webkit.org/show_bug.cgi?id=199481
+        <rdar://problem/52619048>
+
+        Reviewed by Tim Horton.
+
+        * Platform/spi/ios/UIKitSPI.h: Add UITextEffectsWindow.sharedTextEffectsWindowForWindowScene SPI.
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView showGlobalMenuControllerInRect:]): setTargetRect, setMenuVisible marked depreciated in iOS 13.
+        (-[WKContentView hideGlobalMenuController]): Ditto.
+
 2019-07-11  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         MobileSafari may crash under -[UIKeyboardTaskExecutionContext transferExecutionToMainThreadWithTask:]
index 3587bb7..7ba9879 100644 (file)
@@ -1003,6 +1003,9 @@ typedef NS_OPTIONS(NSUInteger, UIDragOperation)
 
 @interface UITextEffectsWindow : UIAutoRotatingWindow
 + (UITextEffectsWindow *)sharedTextEffectsWindow;
+#if HAVE(UISCENE)
++ (UITextEffectsWindow *)sharedTextEffectsWindowForWindowScene:(UIWindowScene *)windowScene;
+#endif // HAVE(UISCENE)
 @end
 
 @interface _UIVisualEffectLayerConfig : NSObject
index 6d50ffa..2cad081 100644 (file)
@@ -5420,8 +5420,10 @@ static RetainPtr<NSObject <WKFormPeripheral>> createInputPeripheralWithView(WebK
 #if HAVE(MENU_CONTROLLER_SHOW_HIDE_API)
     [controller showMenuFromView:self rect:rect];
 #else
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     [controller setTargetRect:rect inView:self];
     [controller setMenuVisible:YES animated:YES];
+    ALLOW_DEPRECATED_DECLARATIONS_END
 #endif
 }
 
@@ -5431,7 +5433,9 @@ static RetainPtr<NSObject <WKFormPeripheral>> createInputPeripheralWithView(WebK
 #if HAVE(MENU_CONTROLLER_SHOW_HIDE_API)
     [controller hideMenuFromView:self];
 #else
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     [controller setMenuVisible:NO animated:YES];
+    ALLOW_DEPRECATED_DECLARATIONS_END
 #endif
 }
 
index 9108c42..d78ab8a 100644 (file)
@@ -1,3 +1,13 @@
+2019-07-11  Jonathan Bedard  <jbedard@apple.com>
+
+        [iOS 13] Enable WebKit build
+        https://bugs.webkit.org/show_bug.cgi?id=199481
+        <rdar://problem/52619048>
+
+        Reviewed by Tim Horton.
+
+        * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Add iOS framework stubs.
+
 2019-07-11  Ryan Haddad  <ryanhaddad@apple.com>
 
         Add test expectations and baselines for iOS 13
index 7caa997..a0ba298 100644 (file)
@@ -28,7 +28,13 @@ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
 
 WK_PRIVATE_FRAMEWORKS_DIR = $(WK_PRIVATE_FRAMEWORKS_DIR_$(USE_INTERNAL_SDK));
 WK_PRIVATE_FRAMEWORKS_DIR_[sdk=mac*] = $(PROJECT_DIR)/../../WebKitLibraries/WebKitPrivateFrameworkStubs/Mac/$(MAC_OS_X_VERSION_MAJOR);
-FRAMEWORK_SEARCH_PATHS[sdk=mac*] = $(inherited) $(WK_PRIVATE_FRAMEWORK_STUBS_DIR) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
+
+WK_TARGET_IOS_VERSION_MAJOR = $(IPHONEOS_DEPLOYMENT_TARGET:base); // e.g. iOS 9.3 => 9
+WK_PRIVATE_FRAMEWORKS_DIR_[sdk=iphone*] = $(WK_PRIVATE_FRAMEWORKS_DIR_iphone_$(USE_INTERNAL_SDK));
+WK_PRIVATE_FRAMEWORKS_DIR_iphone_ = $(PROJECT_DIR)/../../WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/$(WK_TARGET_IOS_VERSION_MAJOR);
+
+FRAMEWORK_SEARCH_PATHS[sdk=mac*] = $(inherited) $(WK_PRIVATE_FRAMEWORKS_DIR) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
+FRAMEWORK_SEARCH_PATHS[sdk=iphone*] = $(inherited) $(WK_PRIVATE_FRAMEWORKS_DIR);
 
 UNEXPORTED_SYMBOL_LDFLAGS = -Wl,-unexported_symbol -Wl,__ZN7testing4Test16TearDownTestCaseEv -Wl,-unexported_symbol -Wl,__ZN7testing4Test13SetUpTestCaseEv
 
index e6749dc..1bab1e4 100644 (file)
@@ -1,3 +1,23 @@
+2019-07-11  Jonathan Bedard  <jbedard@apple.com>
+
+        [iOS 13] Enable WebKit build
+        https://bugs.webkit.org/show_bug.cgi?id=199481
+        <rdar://problem/52619048>
+
+        Reviewed by Tim Horton.
+
+        Added iOS 13 framework stubs, used tbd version 3 in all new stubs.
+
+        * WebKitPrivateFrameworkStubs/iOS/13: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/AppSupport.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/AssertionServices.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/AuthKit.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/CorePDF.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/CorePrediction.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/GraphicsServices.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/SafariSafeBrowsing.framework: Added.
+        * WebKitPrivateFrameworkStubs/iOS/13/URLFormatting.framework: Added.
+
 2019-07-03  Jonathan Bedard  <jbedard@apple.com>
 
         [Catalina] Enable WebKit build
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AppSupport.framework/AppSupport.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AppSupport.framework/AppSupport.tbd
new file mode 100644 (file)
index 0000000..30f275a
--- /dev/null
@@ -0,0 +1,11 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport'
+objc-constraint: none
+platform: ios
+exports:
+  -
+    archs:           [ x86_64, arm64, arm64e ]
+    symbols:         [ CPCopyBundleIdentifierFromAuditToken ]
+    objc-classes:    [ CPNetworkObserver ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AssertionServices.framework/AssertionServices.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AssertionServices.framework/AssertionServices.tbd
new file mode 100644 (file)
index 0000000..2b519e7
--- /dev/null
@@ -0,0 +1,10 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices'
+objc-constraint: none
+platform: ios
+exports:
+  - archs:           [ x86_64, arm64, arm64e ]
+    objc-classes:    [ BKSApplicationStateMonitor, BKSProcessAssertion ]
+    symbols:         [ _BKSApplicationStateMostElevatedStateForProcessIDKey, _BKSApplicationStateProcessIDKey ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AuthKit.framework/AuthKit.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/AuthKit.framework/AuthKit.tbd
new file mode 100644 (file)
index 0000000..644d9fe
--- /dev/null
@@ -0,0 +1,8 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit'
+platform: ios
+exports:
+  - archs:           [ x86_64, arm64, arm64e ]
+    objc-classes:    [ AKAuthorizationController ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePDF.framework/CorePDF.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePDF.framework/CorePDF.tbd
new file mode 100644 (file)
index 0000000..3f4d6ad
--- /dev/null
@@ -0,0 +1,10 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/CorePDF.framework/CorePDF'
+objc-constraint: none
+platform: ios
+exports:
+  -
+    archs:           [ x86_64, arm64, arm64e ]
+    objc-classes:    [ UIPDFDocument, UIPDFLinkAnnotation, UIPDFPageView, UIPDFSelection ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePrediction.framework/CorePrediction.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/CorePrediction.framework/CorePrediction.tbd
new file mode 100644 (file)
index 0000000..ef3e331
--- /dev/null
@@ -0,0 +1,10 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/CorePrediction.framework/CorePrediction'
+objc-constraint: none
+platform: ios
+exports:
+  -
+    archs:           [ x86_64, arm64, arm64e ]
+    symbols:         [ _svm_load_model, _svm_predict_values ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/GraphicsServices.framework/GraphicsServices.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/GraphicsServices.framework/GraphicsServices.tbd
new file mode 100644 (file)
index 0000000..ff204e3
--- /dev/null
@@ -0,0 +1,12 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices'
+objc-constraint: none
+platform: ios
+exports:
+  -
+    archs:           [ x86_64, arm64, arm64e ]
+    symbols:         [ _GSCurrentEventTimestamp, _GSEventIsHardwareKeyboardAttached, _GSEventSetHardwareKeyboardAttached,
+                       _GSFontInitialize, _GSFontPurgeFontCache, _GSInitialize, _GSKeyboardGetModifierState,
+                       _GSSystemRootDirectory, _kGSEventHardwareKeyboardAvailabilityChangedNotification ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd
new file mode 100644 (file)
index 0000000..5e996e6
--- /dev/null
@@ -0,0 +1,11 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:     '/System/Library/PrivateFrameworks/SafariSafeBrowsing.framework/SafariSafeBrowsing'
+objc-constraint: none
+platform: ios
+exports:
+  -
+    archs:           [ x86_64, arm64, arm64e ]
+    symbols:         [ _SSBProviderTencent, _ZN12SafeBrowsing7Service4mainEv ]
+    objc-classes:    [ SSBLookupContext, SSBLookupResult, SSBServiceLookupResult ]
+...
diff --git a/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/URLFormatting.framework/URLFormatting.tbd b/WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/13/URLFormatting.framework/URLFormatting.tbd
new file mode 100644 (file)
index 0000000..51f7b1b
--- /dev/null
@@ -0,0 +1,6 @@
+--- !tapi-tbd-v3
+archs:           [ x86_64, arm64, arm64e ]
+install-name:    '/System/Library/PrivateFrameworks/URLFormatting.framework/URLFormatting'
+objc-constraint: none
+platform: ios
+...