Replies: 2 comments 16 replies
-
The demangled symbol you shared does not match the symbol you linked to in TCA. The TCA What was the previous version of TCA your project was building without crashing? |
Beta Was this translation helpful? Give feedback.
-
@mbrandonw ok, so i purchased an old laptop to do Catalina testing (for $70 🤣 ), and I dug into this issue again. here's a couple more bits of into. As I suspected, it seems that any macOS app importing TCA is crashing on Catalina now. To test this, I made the simplest TCA app I could (the humble counter app, of course!), and verified that I get the same crash on Catalina. The github repo is here. As a contrast, here's just a hello-world SwiftUI app without TCA, that doesn't crash on catalina. But, if I add this just this code block to the non-TCA swiftui app: public extension View {
@available(iOS 14, tvOS 14, watchOS 7, *)
@available(macOS, unavailable)
func testAvailableCrash() -> some View {
self.fullScreenCover(isPresented: .constant(true)) {
Text("Unreachable!")
}
}
} ...then we're in crash city again. This is basically the minimal code I could figure out to reproduce the fact that for some reason it seems like the I'd love to get to the true bottom of this. Do you have any more knowledge about how those I'd really hate for you guys to drop Catalina support, I hope you're not considering that! 🤞 (on that note, now that I've got a dedicated Catalina test computer, if we can get this resolved some way in the core library, I'd be happy to do some smoke-testing for you guys whenever you are about to tag a new release, to ensure Catalina is hunky dory -- let me know if that interests you). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, thanks so much for TCA, really appreciate all your work.
I've got a macos app that was already in production with a prerelease of 1.0, and now has been converted to
1.0.0
. in a recent release, I've been trying to add support for an older OS, namely Catalina 10.15 (I already support everything from Big Sur and later).In testing the new Catalina compat, I'm running into a strange crash on launch that seems to be related to TCA, and I'm struggling to make heads or tails of it. The crash is due to a missing SwiftUI symbol. Here's the only interesting part of the crash report:
running
swift demangle
on that symbol produces:Why do I think it's related to TCA? Because my app uses zero SwiftUI, so the only swiftui code that should be referenced (I think) should be coming from TCA.
The strange thing is, searching pointfree repos for
fullScreenCover
turns up some stuff, but the relevant lines seem to be correctly annotated with@available(macOS, unavailable)
.It's also add, that I'm not getting the crash on anything macos 11.0 or later, all of which don't support
fullScreenCover
either (I think).Admittedly, I'm not a veteran macos or ios developer, so maybe I'm missing something stupid here? Can anyone help me understand what's happening here?
Does anyone have a TCA app building and running successfully on Catalina? Is that something you have a sample app for that could be tested for the crash?
Thanks for any help!
expand for more of the crash report...
Beta Was this translation helpful? Give feedback.
All reactions