From b3464a2aa57fe83c05fa25c9e3d0012b0b931236 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 21 Mar 2024 17:25:01 -0700 Subject: [PATCH] Fix iOS build errors. --- NetNewsWire.xcodeproj/project.pbxproj | 7 +++++++ iOS/SceneCoordinator.swift | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 67ca973f3..7980a6374 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -600,6 +600,7 @@ 841CECD82BAD04B20001EE72 /* Tree in Frameworks */ = {isa = PBXBuildFile; productRef = 841CECD72BAD04B20001EE72 /* Tree */; }; 841CECDA2BAD04B80001EE72 /* Tree in Frameworks */ = {isa = PBXBuildFile; productRef = 841CECD92BAD04B80001EE72 /* Tree */; }; 841CECDC2BAD04BF0001EE72 /* Tree in Frameworks */ = {isa = PBXBuildFile; productRef = 841CECDB2BAD04BF0001EE72 /* Tree */; }; + 841CECDE2BAD06D10001EE72 /* Tree in Frameworks */ = {isa = PBXBuildFile; productRef = 841CECDD2BAD06D10001EE72 /* Tree */; }; 84216D0322128B9D0049B9B9 /* DetailWebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84216D0222128B9D0049B9B9 /* DetailWebViewController.swift */; }; 8426118A1FCB67AA0086A189 /* FeedIconDownloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 842611891FCB67AA0086A189 /* FeedIconDownloader.swift */; }; 8426119E1FCB6ED40086A189 /* HTMLMetadataDownloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8426119D1FCB6ED40086A189 /* HTMLMetadataDownloader.swift */; }; @@ -1531,6 +1532,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 841CECDE2BAD06D10001EE72 /* Tree in Frameworks */, 51BC2F3824D3439A00E90810 /* Account in Frameworks */, 84D9582C2BABE53B0053E7B2 /* FoundationExtras in Frameworks */, ); @@ -2818,6 +2820,7 @@ packageProductDependencies = ( 51BC2F3724D3439A00E90810 /* Account */, 84D9582B2BABE53B0053E7B2 /* FoundationExtras */, + 841CECDD2BAD06D10001EE72 /* Tree */, ); productName = "NetNewsWire iOS Share Extension"; productReference = 513C5CE6232571C2003D4054 /* NetNewsWire iOS Share Extension.appex */; @@ -4930,6 +4933,10 @@ isa = XCSwiftPackageProductDependency; productName = Tree; }; + 841CECDD2BAD06D10001EE72 /* Tree */ = { + isa = XCSwiftPackageProductDependency; + productName = Tree; + }; 8438C2DA2BABE0B00040C9EE /* CoreResources */ = { isa = XCSwiftPackageProductDependency; productName = CoreResources; diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 6f3d20a4e..a676fa36a 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -41,7 +41,7 @@ struct SidebarItemNode: Hashable { var node: Node var sidebarItemID: SidebarItemIdentifier - init(_ node: Node) { + @MainActor init(_ node: Node) { self.node = node self.sidebarItemID = (node.representedObject as! SidebarItem).sidebarItemID! }