From 927d5773c6f031f99a425392117690e28c8280f4 Mon Sep 17 00:00:00 2001 From: Hiroshi Kimura Date: Tue, 13 Feb 2024 02:51:38 +0900 Subject: [PATCH] Use .bundle (#221) --- Sources/BrightroomUI/Shared/BrightroomUI.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Sources/BrightroomUI/Shared/BrightroomUI.swift b/Sources/BrightroomUI/Shared/BrightroomUI.swift index e0c5abbf..7a39ffe5 100644 --- a/Sources/BrightroomUI/Shared/BrightroomUI.swift +++ b/Sources/BrightroomUI/Shared/BrightroomUI.swift @@ -46,11 +46,7 @@ let bundle = Bundle.init(for: Dummy.self) Bundle.init(path: $0) }! #elseif SWIFT_PACKAGE_MANAGER -let bundle = Bundle.init(for: Dummy.self) - .path(forResource: "Brightroom_BrightroomUI", ofType: "bundle") - .map { - Bundle.init(path: $0) - }! +let bundle = Bundle.module #else let bundle = Bundle.init(for: Dummy.self) #endif