File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Networking
66import NetworkingCore
77#endif
88
9- #if canImport(Yosemite)
9+ #if canImport(Yosemite) && !NOTIFICATION_EXTENSION
1010import Yosemite
1111#endif
1212
@@ -19,7 +19,7 @@ struct MarkOrderAsReadUseCase {
1919 case noNeedToMarkAsRead
2020 }
2121
22- #if canImport(Yosemite)
22+ #if canImport(Yosemite) && !NOTIFICATION_EXTENSION
2323 /// Async method that marks the order note as read if it is the notification for the last order.
2424 /// We do it in a way that first we syncronize notification to get the remote `Note`
2525 /// and then we compare local `orderID` with the one from remote `Note`.
Original file line number Diff line number Diff line change 1785217852 PRODUCT_NAME = "$(TARGET_NAME)";
1785317853 PROVISIONING_PROFILE_SPECIFIER = "WooCommerce Notification Content Exten Development";
1785417854 SKIP_INSTALL = YES;
17855+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) NOTIFICATION_EXTENSION";
1785517856 SWIFT_EMIT_LOC_STRINGS = YES;
1785617857 SWIFT_VERSION = 5.0;
1785717858 TARGETED_DEVICE_FAMILY = "1,2";
1787917880 PRODUCT_NAME = "$(TARGET_NAME)";
1788017881 PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.automattic.woocommerce.notificationcontentextension";
1788117882 SKIP_INSTALL = YES;
17883+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) NOTIFICATION_EXTENSION";
1788217884 SWIFT_EMIT_LOC_STRINGS = YES;
1788317885 SWIFT_VERSION = 5.0;
1788417886 TARGETED_DEVICE_FAMILY = "1,2";
1790617908 PRODUCT_NAME = "$(TARGET_NAME)";
1790717909 PROVISIONING_PROFILE_SPECIFIER = "match InHouse com.automattic.alpha.woocommerce.notificationcontentextension";
1790817910 SKIP_INSTALL = YES;
17911+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) NOTIFICATION_EXTENSION";
1790917912 SWIFT_EMIT_LOC_STRINGS = YES;
1791017913 SWIFT_VERSION = 5.0;
1791117914 TARGETED_DEVICE_FAMILY = "1,2";
You can’t perform that action at this time.
0 commit comments