Skip to content

Commit b2dc5db

Browse files
authored
Merge pull request #257 from rfcbf/feature/Complication_Watch
feat: complication watch
2 parents 89a7b71 + 6388be6 commit b2dc5db

21 files changed

Lines changed: 800 additions & 10 deletions

File tree

MacMagazine/MacMagazine.xcodeproj/project.pbxproj

Lines changed: 194 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
88C8B2E72EF476E100044DE9 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BDD424E2EE9E82F00A9BD85 /* WidgetKit.framework */; };
11+
88C8B2E82EF476E100044DE9 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BDD42502EE9E82F00A9BD85 /* SwiftUI.framework */; };
12+
88C8B2F72EF476E200044DE9 /* WidgetWatchExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 88C8B2E62EF476E100044DE9 /* WidgetWatchExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
13+
88C8B2FE2EF48DC500044DE9 /* FeedLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 88C8B2FD2EF48DC500044DE9 /* FeedLibrary */; };
1014
9B024FDC2EC2719700D66056 /* SettingsLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 9B024FDB2EC2719700D66056 /* SettingsLibrary */; };
1115
9B1A43032EE0C14E00E56784 /* PodcastLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 9B1A43022EE0C14E00E56784 /* PodcastLibrary */; };
1216
9B4F666F2EE9F223008ACACB /* FeedLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 9B4F666E2EE9F223008ACACB /* FeedLibrary */; };
@@ -23,6 +27,13 @@
2327
/* End PBXBuildFile section */
2428

2529
/* Begin PBXContainerItemProxy section */
30+
88C8B2F52EF476E200044DE9 /* PBXContainerItemProxy */ = {
31+
isa = PBXContainerItemProxy;
32+
containerPortal = 9B9E9DBC2E986F8400255820 /* Project object */;
33+
proxyType = 1;
34+
remoteGlobalIDString = 88C8B2E52EF476E100044DE9;
35+
remoteInfo = WidgetWatchExtension;
36+
};
2637
9BA828AA2EEC7AAB00F26FCB /* PBXContainerItemProxy */ = {
2738
isa = PBXContainerItemProxy;
2839
containerPortal = 9B9E9DBC2E986F8400255820 /* Project object */;
@@ -40,6 +51,17 @@
4051
/* End PBXContainerItemProxy section */
4152

4253
/* Begin PBXCopyFilesBuildPhase section */
54+
88C8B2FC2EF476E200044DE9 /* Embed Foundation Extensions */ = {
55+
isa = PBXCopyFilesBuildPhase;
56+
buildActionMask = 2147483647;
57+
dstPath = "";
58+
dstSubfolderSpec = 13;
59+
files = (
60+
88C8B2F72EF476E200044DE9 /* WidgetWatchExtension.appex in Embed Foundation Extensions */,
61+
);
62+
name = "Embed Foundation Extensions";
63+
runOnlyForDeploymentPostprocessing = 0;
64+
};
4365
9BA828AD2EEC7AAB00F26FCB /* Embed Watch Content */ = {
4466
isa = PBXCopyFilesBuildPhase;
4567
buildActionMask = 2147483647;
@@ -65,6 +87,8 @@
6587
/* End PBXCopyFilesBuildPhase section */
6688

6789
/* Begin PBXFileReference section */
90+
88C8B2E62EF476E100044DE9 /* WidgetWatchExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = WidgetWatchExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
91+
88C8B3012EF4AE7400044DE9 /* WidgetWatchExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = WidgetWatchExtension.entitlements; sourceTree = "<group>"; };
6892
9B024FDA2EC2717200D66056 /* SettingsLibrary */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SettingsLibrary; sourceTree = "<group>"; };
6993
9B1A43012EE0C04D00E56784 /* PodcastLibrary */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = PodcastLibrary; sourceTree = "<group>"; };
7094
9B334E912EE43FE4009F4947 /* MMLiveLibrary */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = MMLiveLibrary; sourceTree = "<group>"; };
@@ -81,6 +105,20 @@
81105
/* End PBXFileReference section */
82106

83107
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
108+
88C8B2FB2EF476E200044DE9 /* Exceptions for "WidgetWatch" folder in "WidgetWatchExtension" target */ = {
109+
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
110+
membershipExceptions = (
111+
Info.plist,
112+
);
113+
target = 88C8B2E52EF476E100044DE9 /* WidgetWatchExtension */;
114+
};
115+
88C8B3052EF577EE00044DE9 /* Exceptions for "WatchApp" folder in "WidgetWatchExtension" target */ = {
116+
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
117+
membershipExceptions = (
118+
WatchWidgetShared.swift,
119+
);
120+
target = 88C8B2E52EF476E100044DE9 /* WidgetWatchExtension */;
121+
};
84122
9B9E9DD12E986F8500255820 /* Exceptions for "MacMagazine" folder in "MacMagazine" target */ = {
85123
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
86124
membershipExceptions = (
@@ -105,6 +143,14 @@
105143
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
106144

107145
/* Begin PBXFileSystemSynchronizedRootGroup section */
146+
88C8B2E92EF476E100044DE9 /* WidgetWatch */ = {
147+
isa = PBXFileSystemSynchronizedRootGroup;
148+
exceptions = (
149+
88C8B2FB2EF476E200044DE9 /* Exceptions for "WidgetWatch" folder in "WidgetWatchExtension" target */,
150+
);
151+
path = WidgetWatch;
152+
sourceTree = "<group>";
153+
};
108154
9B9E9DC62E986F8400255820 /* MacMagazine */ = {
109155
isa = PBXFileSystemSynchronizedRootGroup;
110156
exceptions = (
@@ -116,6 +162,9 @@
116162
};
117163
9BA8288D2EEC7AAA00F26FCB /* WatchApp */ = {
118164
isa = PBXFileSystemSynchronizedRootGroup;
165+
exceptions = (
166+
88C8B3052EF577EE00044DE9 /* Exceptions for "WatchApp" folder in "WidgetWatchExtension" target */,
167+
);
119168
path = WatchApp;
120169
sourceTree = "<group>";
121170
};
@@ -130,6 +179,16 @@
130179
/* End PBXFileSystemSynchronizedRootGroup section */
131180

132181
/* Begin PBXFrameworksBuildPhase section */
182+
88C8B2E32EF476E100044DE9 /* Frameworks */ = {
183+
isa = PBXFrameworksBuildPhase;
184+
buildActionMask = 2147483647;
185+
files = (
186+
88C8B2FE2EF48DC500044DE9 /* FeedLibrary in Frameworks */,
187+
88C8B2E82EF476E100044DE9 /* SwiftUI.framework in Frameworks */,
188+
88C8B2E72EF476E100044DE9 /* WidgetKit.framework in Frameworks */,
189+
);
190+
runOnlyForDeploymentPostprocessing = 0;
191+
};
133192
9B9E9DC12E986F8400255820 /* Frameworks */ = {
134193
isa = PBXFrameworksBuildPhase;
135194
buildActionMask = 2147483647;
@@ -168,11 +227,13 @@
168227
9B9E9DBB2E986F8400255820 = {
169228
isa = PBXGroup;
170229
children = (
230+
88C8B3012EF4AE7400044DE9 /* WidgetWatchExtension.entitlements */,
171231
9BB3888E2EE0B2E4007AC71C /* MacMagazine.xctestplan */,
172232
9B9E9DDA2E98701C00255820 /* Features */,
173233
9B9E9DC62E986F8400255820 /* MacMagazine */,
174234
9BDD42522EE9E82F00A9BD85 /* Widget */,
175235
9BA8288D2EEC7AAA00F26FCB /* WatchApp */,
236+
88C8B2E92EF476E100044DE9 /* WidgetWatch */,
176237
9B9E9DDE2E98709000255820 /* Frameworks */,
177238
9B9E9DC52E986F8400255820 /* Products */,
178239
);
@@ -184,6 +245,7 @@
184245
9B9E9DC42E986F8400255820 /* MacMagazine.app */,
185246
9BDD424D2EE9E82F00A9BD85 /* WidgetExtension.appex */,
186247
9BA8288C2EEC7AAA00F26FCB /* WatchApp.app */,
248+
88C8B2E62EF476E100044DE9 /* WidgetWatchExtension.appex */,
187249
);
188250
name = Products;
189251
sourceTree = "<group>";
@@ -214,6 +276,29 @@
214276
/* End PBXGroup section */
215277

216278
/* Begin PBXNativeTarget section */
279+
88C8B2E52EF476E100044DE9 /* WidgetWatchExtension */ = {
280+
isa = PBXNativeTarget;
281+
buildConfigurationList = 88C8B2F82EF476E200044DE9 /* Build configuration list for PBXNativeTarget "WidgetWatchExtension" */;
282+
buildPhases = (
283+
88C8B2E22EF476E100044DE9 /* Sources */,
284+
88C8B2E32EF476E100044DE9 /* Frameworks */,
285+
88C8B2E42EF476E100044DE9 /* Resources */,
286+
);
287+
buildRules = (
288+
);
289+
dependencies = (
290+
);
291+
fileSystemSynchronizedGroups = (
292+
88C8B2E92EF476E100044DE9 /* WidgetWatch */,
293+
);
294+
name = WidgetWatchExtension;
295+
packageProductDependencies = (
296+
88C8B2FD2EF48DC500044DE9 /* FeedLibrary */,
297+
);
298+
productName = WidgetWatchExtension;
299+
productReference = 88C8B2E62EF476E100044DE9 /* WidgetWatchExtension.appex */;
300+
productType = "com.apple.product-type.app-extension";
301+
};
217302
9B9E9DC32E986F8400255820 /* MacMagazine */ = {
218303
isa = PBXNativeTarget;
219304
buildConfigurationList = 9B9E9DD22E986F8500255820 /* Build configuration list for PBXNativeTarget "MacMagazine" */;
@@ -254,10 +339,12 @@
254339
9BA828882EEC7AAA00F26FCB /* Sources */,
255340
9BA828892EEC7AAA00F26FCB /* Frameworks */,
256341
9BA8288A2EEC7AAA00F26FCB /* Resources */,
342+
88C8B2FC2EF476E200044DE9 /* Embed Foundation Extensions */,
257343
);
258344
buildRules = (
259345
);
260346
dependencies = (
347+
88C8B2F62EF476E200044DE9 /* PBXTargetDependency */,
261348
);
262349
fileSystemSynchronizedGroups = (
263350
9BA8288D2EEC7AAA00F26FCB /* WatchApp */,
@@ -301,9 +388,12 @@
301388
isa = PBXProject;
302389
attributes = {
303390
BuildIndependentTargetsInParallel = 1;
304-
LastSwiftUpdateCheck = 2610;
391+
LastSwiftUpdateCheck = 2620;
305392
LastUpgradeCheck = 2610;
306393
TargetAttributes = {
394+
88C8B2E52EF476E100044DE9 = {
395+
CreatedOnToolsVersion = 26.2;
396+
};
307397
9B9E9DC32E986F8400255820 = {
308398
CreatedOnToolsVersion = 26.0.1;
309399
};
@@ -334,11 +424,19 @@
334424
9B9E9DC32E986F8400255820 /* MacMagazine */,
335425
9BDD424C2EE9E82F00A9BD85 /* WidgetExtension */,
336426
9BA8288B2EEC7AAA00F26FCB /* WatchApp */,
427+
88C8B2E52EF476E100044DE9 /* WidgetWatchExtension */,
337428
);
338429
};
339430
/* End PBXProject section */
340431

341432
/* Begin PBXResourcesBuildPhase section */
433+
88C8B2E42EF476E100044DE9 /* Resources */ = {
434+
isa = PBXResourcesBuildPhase;
435+
buildActionMask = 2147483647;
436+
files = (
437+
);
438+
runOnlyForDeploymentPostprocessing = 0;
439+
};
342440
9B9E9DC22E986F8400255820 /* Resources */ = {
343441
isa = PBXResourcesBuildPhase;
344442
buildActionMask = 2147483647;
@@ -385,6 +483,13 @@
385483
/* End PBXShellScriptBuildPhase section */
386484

387485
/* Begin PBXSourcesBuildPhase section */
486+
88C8B2E22EF476E100044DE9 /* Sources */ = {
487+
isa = PBXSourcesBuildPhase;
488+
buildActionMask = 2147483647;
489+
files = (
490+
);
491+
runOnlyForDeploymentPostprocessing = 0;
492+
};
388493
9B9E9DC02E986F8400255820 /* Sources */ = {
389494
isa = PBXSourcesBuildPhase;
390495
buildActionMask = 2147483647;
@@ -409,6 +514,11 @@
409514
/* End PBXSourcesBuildPhase section */
410515

411516
/* Begin PBXTargetDependency section */
517+
88C8B2F62EF476E200044DE9 /* PBXTargetDependency */ = {
518+
isa = PBXTargetDependency;
519+
target = 88C8B2E52EF476E100044DE9 /* WidgetWatchExtension */;
520+
targetProxy = 88C8B2F52EF476E200044DE9 /* PBXContainerItemProxy */;
521+
};
412522
9BA828AB2EEC7AAB00F26FCB /* PBXTargetDependency */ = {
413523
isa = PBXTargetDependency;
414524
target = 9BA8288B2EEC7AAA00F26FCB /* WatchApp */;
@@ -422,6 +532,74 @@
422532
/* End PBXTargetDependency section */
423533

424534
/* Begin XCBuildConfiguration section */
535+
88C8B2F92EF476E200044DE9 /* Debug */ = {
536+
isa = XCBuildConfiguration;
537+
buildSettings = {
538+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
539+
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
540+
CODE_SIGN_ENTITLEMENTS = WidgetWatchExtension.entitlements;
541+
CODE_SIGN_STYLE = Automatic;
542+
CURRENT_PROJECT_VERSION = 5.1.0;
543+
DEVELOPMENT_TEAM = A5VW9QUF9L;
544+
GENERATE_INFOPLIST_FILE = YES;
545+
INFOPLIST_FILE = WidgetWatch/Info.plist;
546+
INFOPLIST_KEY_CFBundleDisplayName = MacMagazine;
547+
INFOPLIST_KEY_NSHumanReadableCopyright = "";
548+
LD_RUNPATH_SEARCH_PATHS = (
549+
"$(inherited)",
550+
"@executable_path/Frameworks",
551+
"@executable_path/../../Frameworks",
552+
"@executable_path/../../../../Frameworks",
553+
);
554+
MARKETING_VERSION = 5.1;
555+
PRODUCT_BUNDLE_IDENTIFIER = com.brit.beta.macmagazine.watchkitapp.WidgetWatch;
556+
PRODUCT_NAME = "$(TARGET_NAME)";
557+
SDKROOT = watchos;
558+
SKIP_INSTALL = YES;
559+
STRING_CATALOG_GENERATE_SYMBOLS = YES;
560+
SWIFT_APPROACHABLE_CONCURRENCY = YES;
561+
SWIFT_EMIT_LOC_STRINGS = YES;
562+
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
563+
SWIFT_VERSION = 5.0;
564+
TARGETED_DEVICE_FAMILY = 4;
565+
WATCHOS_DEPLOYMENT_TARGET = 26.0;
566+
};
567+
name = Debug;
568+
};
569+
88C8B2FA2EF476E200044DE9 /* Release */ = {
570+
isa = XCBuildConfiguration;
571+
buildSettings = {
572+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
573+
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
574+
CODE_SIGN_ENTITLEMENTS = WidgetWatchExtension.entitlements;
575+
CODE_SIGN_STYLE = Automatic;
576+
CURRENT_PROJECT_VERSION = 5.1.0;
577+
DEVELOPMENT_TEAM = A5VW9QUF9L;
578+
GENERATE_INFOPLIST_FILE = YES;
579+
INFOPLIST_FILE = WidgetWatch/Info.plist;
580+
INFOPLIST_KEY_CFBundleDisplayName = MacMagazine;
581+
INFOPLIST_KEY_NSHumanReadableCopyright = "";
582+
LD_RUNPATH_SEARCH_PATHS = (
583+
"$(inherited)",
584+
"@executable_path/Frameworks",
585+
"@executable_path/../../Frameworks",
586+
"@executable_path/../../../../Frameworks",
587+
);
588+
MARKETING_VERSION = 5.1;
589+
PRODUCT_BUNDLE_IDENTIFIER = com.brit.beta.macmagazine.watchkitapp.WidgetWatch;
590+
PRODUCT_NAME = "$(TARGET_NAME)";
591+
SDKROOT = watchos;
592+
SKIP_INSTALL = YES;
593+
STRING_CATALOG_GENERATE_SYMBOLS = YES;
594+
SWIFT_APPROACHABLE_CONCURRENCY = YES;
595+
SWIFT_EMIT_LOC_STRINGS = YES;
596+
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
597+
SWIFT_VERSION = 5.0;
598+
TARGETED_DEVICE_FAMILY = 4;
599+
WATCHOS_DEPLOYMENT_TARGET = 26.0;
600+
};
601+
name = Release;
602+
};
425603
9B9E9DD32E986F8500255820 /* Debug */ = {
426604
isa = XCBuildConfiguration;
427605
buildSettings = {
@@ -650,7 +828,7 @@
650828
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
651829
SWIFT_VERSION = 5.0;
652830
TARGETED_DEVICE_FAMILY = 4;
653-
WATCHOS_DEPLOYMENT_TARGET = 26.1;
831+
WATCHOS_DEPLOYMENT_TARGET = 26.0;
654832
};
655833
name = Debug;
656834
};
@@ -685,7 +863,7 @@
685863
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
686864
SWIFT_VERSION = 5.0;
687865
TARGETED_DEVICE_FAMILY = 4;
688-
WATCHOS_DEPLOYMENT_TARGET = 26.1;
866+
WATCHOS_DEPLOYMENT_TARGET = 26.0;
689867
};
690868
name = Release;
691869
};
@@ -754,6 +932,15 @@
754932
/* End XCBuildConfiguration section */
755933

756934
/* Begin XCConfigurationList section */
935+
88C8B2F82EF476E200044DE9 /* Build configuration list for PBXNativeTarget "WidgetWatchExtension" */ = {
936+
isa = XCConfigurationList;
937+
buildConfigurations = (
938+
88C8B2F92EF476E200044DE9 /* Debug */,
939+
88C8B2FA2EF476E200044DE9 /* Release */,
940+
);
941+
defaultConfigurationIsVisible = 0;
942+
defaultConfigurationName = Release;
943+
};
757944
9B9E9DBF2E986F8400255820 /* Build configuration list for PBXProject "MacMagazine" */ = {
758945
isa = XCConfigurationList;
759946
buildConfigurations = (
@@ -793,6 +980,10 @@
793980
/* End XCConfigurationList section */
794981

795982
/* Begin XCSwiftPackageProductDependency section */
983+
88C8B2FD2EF48DC500044DE9 /* FeedLibrary */ = {
984+
isa = XCSwiftPackageProductDependency;
985+
productName = FeedLibrary;
986+
};
796987
9B024FDB2EC2719700D66056 /* SettingsLibrary */ = {
797988
isa = XCSwiftPackageProductDependency;
798989
productName = SettingsLibrary;

0 commit comments

Comments
 (0)