From c0929acd3073d4f1a760b693ed1e9119aef60b9c Mon Sep 17 00:00:00 2001 From: Kyle-Ye Date: Fri, 5 Jun 2026 11:52:25 +0800 Subject: [PATCH 1/2] Fix HostingExample project configuration --- Example/Project.swift | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Example/Project.swift b/Example/Project.swift index 3841c8426..3b4b34608 100644 --- a/Example/Project.swift +++ b/Example/Project.swift @@ -131,9 +131,18 @@ let hostingExampleSettings = commonAppSettings.merging([ "CLANG_ENABLE_MODULES": "YES", "GENERATE_INFOPLIST_FILE": "YES", "INFOPLIST_FILE": "HostingExample/Info.plist", - "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents": "YES", - "INFOPLIST_KEY_UILaunchStoryboardName": "LaunchScreen", - "INFOPLIST_KEY_UIMainStoryboardFile": "Main", + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]": "YES", + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]": "YES", + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=xros*]": "YES", + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=xrsimulator*]": "YES", + "INFOPLIST_KEY_UILaunchStoryboardName[sdk=iphoneos*]": "LaunchScreen", + "INFOPLIST_KEY_UILaunchStoryboardName[sdk=iphonesimulator*]": "LaunchScreen", + "INFOPLIST_KEY_UILaunchStoryboardName[sdk=xros*]": "LaunchScreen", + "INFOPLIST_KEY_UILaunchStoryboardName[sdk=xrsimulator*]": "LaunchScreen", + "INFOPLIST_KEY_UIMainStoryboardFile[sdk=iphoneos*]": "Main", + "INFOPLIST_KEY_UIMainStoryboardFile[sdk=iphonesimulator*]": "Main", + "INFOPLIST_KEY_UIMainStoryboardFile[sdk=xros*]": "Main", + "INFOPLIST_KEY_UIMainStoryboardFile[sdk=xrsimulator*]": "Main", "LD_RUNPATH_SEARCH_PATHS": [ "$(inherited)", "@executable_path/Frameworks", @@ -280,7 +289,7 @@ let targets: [Target] = [ .glob("Shared/**/*.swift"), ], resources: [ - "HostingExample/Base.lproj/**", + .glob(pattern: "HostingExample/Base.lproj/**", inclusionCondition: .when([.ios, .visionos])), "Shared/Assets/Assets.xcassets", "Shared/Assets/images/**", ], From b2d617de3549c57c62e7847b45d1aa8bcf64aef8 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 7 Jun 2026 20:22:27 +0800 Subject: [PATCH 2/2] Bump collection dependency --- .../xcshareddata/swiftpm/Package.resolved | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Example/Example_Legacy.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Example/Example_Legacy.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 09f6129af..9c74c6161 100644 --- a/Example/Example_Legacy.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Example/Example_Legacy.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "5b4a7d4f860b697c448336390776a617dcc9b84222d29f7b6e731abf711c15e9", + "originHash" : "e40b85245583a7bbe55d1e943345c3538a67605ef5d0beeb07825c0c5248f457", "pins" : [ { "identity" : "equatable", @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections", "state" : { - "revision" : "6675bc0ff86e61436e615df6fc5174e043e57924", - "version" : "1.4.1" + "revision" : "fea17c02d767f46b23070fdfdacc28a03a39232a", + "version" : "1.5.1" } }, {