Moving to Swift Cross UI and Swift Bundler#39
Moving to Swift Cross UI and Swift Bundler#39philocalyst wants to merge 7 commits intollsc12:mainfrom
Conversation
|
i was hoping you’d make a new project rather than migrate the existing one. the existing app uses a lot of appkit and uikit that won’t work with scui! |
|
I haven't made a new project yet, so no worries! Just migrated to Swift Bundler. Wanted feedback on that migration before creating the project.
Apologies for the miscommunication.
▰▰▰▰▰
Miles Wirth 🙃
… From: Lakhan Lothiyi ***@***.***>
Sent: 15 March 2026 14:43
To: llsc12/Paicord ***@***.***>
Cc: Miles Wirht ***@***.***>, Author ***@***.***>
Subject: Re: [llsc12/Paicord] Moving to Swift Cross UI and Swift Bundler (PR #39)
llsc12 left a comment (llsc12/Paicord#39)
i was hoping you’d make a new project rather than migrate the existing one. the existing app uses a lot of appkit and uikit that won’t work with scui!
--
Reply to this email directly or view it on GitHub:
#39 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
|
yeah i think that might have been my bad. my apologies! i don’t think migration of the main swiftui application really requires migration to swift bundler if only the scui application needs it. also im struggling to make an scui app to test out scui, not sure why. fails at package resolution :c |
|
It's frankly really nice for me to work with as I don't really touch XCode and makes it nice for other contributors as well, pretty easy to maintain alongside the XCode setup if you're comfortable there, too. Can be used for the Linux branch (probably) too!
Are you using [this template](https://docs.swiftcrossui.dev/documentation/swiftcrossui/quick-start/#Using-Swift-Bundlers-SwiftCrossUI-template)?
▰▰▰▰▰
Miles Wirth 🙃
… From: Lakhan Lothiyi ***@***.***>
Sent: 15 March 2026 15:22
To: llsc12/Paicord ***@***.***>
Cc: Miles Wirht ***@***.***>, Author ***@***.***>
Subject: Re: [llsc12/Paicord] Moving to Swift Cross UI and Swift Bundler (PR #39)
llsc12 left a comment (llsc12/Paicord#39)
yeah i think that might have been my bad. my apologies! i don’t think migration of the main swiftui application really requires migration to swift bundler if only the scui application needs it. also im struggling to make an scui app to test out scui, not sure why. fails at package resolution :c
--
Reply to this email directly or view it on GitHub:
#39 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
|
i suppose so, though i'm a bit sad you removed the camera dependency since it looked nice lol. i did use the template without modifying it to no avail, which is odd. i tried using swift 5.10 which didn't help either. |
|
Would you happen to have a copy of the specific error you're facing? |
|
|
Ah yeah, that’s an outdated version of Swift Bundler - kind of. It’s a complicated story, but tldr I’m working on a Swift Bundler release (and have been for quite a while), so there are a ton of new things on main that are not in a tagged release. You should run In your case the immediate issue is that the SwiftCrossUI version used in the old template broke due to an upstream package (which we have since forked) that made a strange broken commit a while ago and never fixed it. If you manually change the scui version in the Package.swift file to 0.2.1, things should work. |
|
oh ok, thank you! |
Currently included are commits moving to SPM and Swift Bundler, and fixes to the warnings I encountered in the process. What is NOT included is the work needed to run the app ENTIRELY off of Swift Bundler, because the mesh-shaders dep doesn't expose their shaders in a way in which Bundler can compile them. We would need to contribute or fork to handle this. That, and the inclusion of
libswiftCompatibilitySpan.dylibthrows Bundler for ANOTHER loop, and we'd have to move the project in a direction where it would no longer be needed to avoid that.Locally, I have a build script that patches over both issues, but it's very messy.
Just wanted to let you know.