From 5621f27764939179f8ad27a288548f81fc3ee77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Carri=C3=B3n?= Date: Mon, 5 Sep 2022 09:40:58 -0500 Subject: [PATCH 1/2] Manually handle provisioning profiles & Disables Bitcode --- WooCommerce/WooCommerce.xcodeproj/project.pbxproj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/WooCommerce/WooCommerce.xcodeproj/project.pbxproj b/WooCommerce/WooCommerce.xcodeproj/project.pbxproj index 75b5c137095..81975bcd80f 100644 --- a/WooCommerce/WooCommerce.xcodeproj/project.pbxproj +++ b/WooCommerce/WooCommerce.xcodeproj/project.pbxproj @@ -11008,9 +11008,10 @@ ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; CLANG_ENABLE_OBJC_WEAK = YES; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = PZYM8XX95Q; + ENABLE_BITCODE = NO; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = StoreWidgets/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = StoreWidgets; @@ -11026,6 +11027,7 @@ MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.automattic.woocommerce.storewidgets; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = "WooCommerce Store Widgets Development"; SKIP_INSTALL = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -11045,6 +11047,7 @@ CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = PZYM8XX95Q; + ENABLE_BITCODE = NO; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = StoreWidgets/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = StoreWidgets; @@ -11079,6 +11082,7 @@ CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 99KV9Z6BKV; + ENABLE_BITCODE = NO; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = StoreWidgets/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = StoreWidgets; From 7666b951c5981f5da61aebb72aa1e5d8ab497d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Carri=C3=B3n?= Date: Mon, 5 Sep 2022 09:42:37 -0500 Subject: [PATCH 2/2] Removes Custom intent --- WooCommerce/Resources/Info.plist | 28 ++++++------ .../StoreWidgets.intentdefinition | 45 ++----------------- 2 files changed, 19 insertions(+), 54 deletions(-) diff --git a/WooCommerce/Resources/Info.plist b/WooCommerce/Resources/Info.plist index 45a00a6c5e2..44120a34f49 100644 --- a/WooCommerce/Resources/Info.plist +++ b/WooCommerce/Resources/Info.plist @@ -2,11 +2,6 @@ - NSAppTransportSecurity - - NSAllowsLocalNetworking - - CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName @@ -63,18 +58,25 @@ LSRequiresIPhoneOS - NSCameraUsageDescription - To take photos or videos to add to your Products, scan barcode for Product SKU, or support tickets. - NSPhotoLibraryUsageDescription - To save photos from camera for Product images, or to add photos or videos to your Products or support tickets. - NSLocationWhenInUseUsageDescription - Location access is required in order to accept payments. - NSBluetoothPeripheralUsageDescription - Bluetooth access is required in order to connect to supported card readers. + NSAppTransportSecurity + + NSAllowsLocalNetworking + + NSBluetoothAlwaysUsageDescription This app uses Bluetooth to connect to supported card readers. + NSBluetoothPeripheralUsageDescription + Bluetooth access is required in order to connect to supported card readers. + NSCameraUsageDescription + To take photos or videos to add to your Products, scan barcode for Product SKU, or support tickets. NSLocationDefaultAccuracyReduced + NSLocationWhenInUseUsageDescription + Location access is required in order to accept payments. + NSPhotoLibraryUsageDescription + To save photos from camera for Product images, or to add photos or videos to your Products or support tickets. + NSUserActivityTypes + UIAppFonts Noticons.ttf diff --git a/WooCommerce/StoreWidgets/StoreWidgets.intentdefinition b/WooCommerce/StoreWidgets/StoreWidgets.intentdefinition index bdb404554a0..5aaeb8d2ba7 100644 --- a/WooCommerce/StoreWidgets/StoreWidgets.intentdefinition +++ b/WooCommerce/StoreWidgets/StoreWidgets.intentdefinition @@ -9,50 +9,13 @@ INIntentDefinitionNamespace 88xZPY INIntentDefinitionSystemVersion - 20A294 + 21G83 INIntentDefinitionToolsBuildVersion - 12A6144 + 13F100 INIntentDefinitionToolsVersion - 12.0 + 13.4.1 INIntents - - - INIntentCategory - information - INIntentDescriptionID - tVvJ9c - INIntentEligibleForWidgets - - INIntentIneligibleForSuggestions - - INIntentName - Configuration - INIntentResponse - - INIntentResponseCodes - - - INIntentResponseCodeName - success - INIntentResponseCodeSuccess - - - - INIntentResponseCodeName - failure - - - - INIntentTitle - Configuration - INIntentTitleID - gpCwrM - INIntentType - Custom - INIntentVerb - View - - + INTypes