From e9eb6d770f4ec684082b9d67fbc74dcf00d2d00c Mon Sep 17 00:00:00 2001 From: Vinh Nguyen Date: Sat, 28 Oct 2023 09:31:44 +0700 Subject: [PATCH] Add back Mac target --- Clendar.xcodeproj/project.pbxproj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Clendar.xcodeproj/project.pbxproj b/Clendar.xcodeproj/project.pbxproj index 9b9667c..c4e1cae 100644 --- a/Clendar.xcodeproj/project.pbxproj +++ b/Clendar.xcodeproj/project.pbxproj @@ -12,7 +12,7 @@ A3064D1D254CEF5200C7F228 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A3064D1C254CEF5200C7F228 /* SwiftUI.framework */; }; A3064D20254CEF5200C7F228 /* DateInfoWidget.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3064D1F254CEF5200C7F228 /* DateInfoWidget.swift */; }; A3064D23254CEF5800C7F228 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A3064D22254CEF5800C7F228 /* Assets.xcassets */; }; - A3064D29254CEF5800C7F228 /* ClendarWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A3064D19254CEF5200C7F228 /* ClendarWidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + A3064D29254CEF5800C7F228 /* ClendarWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A3064D19254CEF5200C7F228 /* ClendarWidgetExtension.appex */; platformFilter = ios; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; A3064D47254CF15500C7F228 /* WidgetEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3064D46254CF15500C7F228 /* WidgetEntry.swift */; }; A3064D4C254CF1BA00C7F228 /* DateInfoWidgetTimelineProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3064D4B254CF1BA00C7F228 /* DateInfoWidgetTimelineProvider.swift */; }; A307DAA925ACBA9C00B5CE11 /* LunarDateInfoWidget.swift in Sources */ = {isa = PBXBuildFile; fileRef = A307DAA825ACBA9C00B5CE11 /* LunarDateInfoWidget.swift */; }; @@ -1567,6 +1567,7 @@ /* Begin PBXTargetDependency section */ A3064D28254CEF5800C7F228 /* PBXTargetDependency */ = { isa = PBXTargetDependency; + platformFilter = ios; target = A3064D18254CEF5200C7F228 /* ClendarWidgetExtension */; targetProxy = A3064D27254CEF5800C7F228 /* PBXContainerItemProxy */; }; @@ -1816,7 +1817,7 @@ "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1852,7 +1853,7 @@ "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2";