diff --git a/QLOPML/PreviewViewController.m b/QLOPML/PreviewViewController.m index ae783cc..7b897b7 100644 --- a/QLOPML/PreviewViewController.m +++ b/QLOPML/PreviewViewController.m @@ -15,7 +15,9 @@ - (void)preparePreviewOfFileAtURL:(NSURL *)url completionHandler:(void (^)(NSError * _Nullable))handler { NSData *data = generateHTMLData(url, [NSBundle mainBundle], NO); // sure, we could use `WKWebView`, but that requires the `com.apple.security.network.client` entitlement +#pragma clang diagnostic ignored "-Wdeprecated" WebView *web = [[WebView alloc] initWithFrame:self.view.bounds]; +#pragma clang diagnostic pop web.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; [self.view addSubview:web]; // [web.mainFrame loadHTMLString:html baseURL:nil]; diff --git a/baRSS.xcodeproj/project.pbxproj b/baRSS.xcodeproj/project.pbxproj index f9a1b14..7c00454 100644 --- a/baRSS.xcodeproj/project.pbxproj +++ b/baRSS.xcodeproj/project.pbxproj @@ -808,7 +808,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.14; MARKETING_VERSION = 1.4.1; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -866,7 +866,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.13; + MACOSX_DEPLOYMENT_TARGET = 10.14; MARKETING_VERSION = 1.4.1; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx;