From da8e087a4efe8f9975c6a6b01c652188214768e5 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 22 Aug 2023 18:23:49 +0300 Subject: [PATCH] Add missing document configuration as per ITMS-90737 By declaring the CFBundleDocumentTypes key in your app, you've indicated that your app is able to open documents. Please set the UISupportsDocumentBrowser key to 'YES' if your app uses a UIDocumentBrowserViewController. Otherwise, set the LSSupportsOpeningDocumentsInPlace key in the Info.plist to 'YES' (recommended) or 'NO' to specify whether the app can open files in place. All document-based apps must include one of these configurations. For more information, visit https://developer.apple.com/document-based-apps/. --- ElementX/SupportingFiles/Info.plist | 2 ++ ElementX/SupportingFiles/target.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/ElementX/SupportingFiles/Info.plist b/ElementX/SupportingFiles/Info.plist index 7ac40c66f..e429bdb7f 100644 --- a/ElementX/SupportingFiles/Info.plist +++ b/ElementX/SupportingFiles/Info.plist @@ -39,6 +39,8 @@ $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption + LSSupportsOpeningDocumentsInPlace + NSCameraUsageDescription To take pictures or videos and send them as a message $(APP_DISPLAY_NAME) needs access to the camera. NSLocationWhenInUseUsageDescription diff --git a/ElementX/SupportingFiles/target.yml b/ElementX/SupportingFiles/target.yml index c1a4b2b5b..c5f1ee9ff 100644 --- a/ElementX/SupportingFiles/target.yml +++ b/ElementX/SupportingFiles/target.yml @@ -90,6 +90,7 @@ targets: CFBundleTypeRole: Viewer LSHandlerRank: Owner LSItemContentTypes: $(PILLS_UT_TYPE_IDENTIFIER) + LSSupportsOpeningDocumentsInPlace: false settings: