I encountered a strange behavior that reminded me of when .sheet() modifiers didn't inherit environment objects. Unless I'm missing something very obvious, it seems to me that TableColumn may expose the same issue. At least on macOS, because the very same code does not crash on iOS.
I'm posting this here before reporting a SwiftUI bug.
Below is a gist for a playground:
https://gist.github.com/keeshux/4a963cdebb1b577b87b08660ce9d3364
I also observe inconsistent behavior when building with Xcode 16.1 or 15.4, specifically:
https://github.com/passepartoutvpn/passepartout/issues/872#issuecomment-2477687967
The workaround I resorted to is re-propagating the environment from the parent:
https://github.com/passepartoutvpn/passepartout/pull/873/files#diff-c662c4607f2adfd0d4e2c2a225e0351ba9c21dbdd5fc68f23bc1ce28a20bce4dR45
Post
Replies
Boosts
Views
Activity
I currently use this hack to determine a TestFlight build on iOS:
https://stackoverflow.com/a/32238344/784615
Now that TestFlight also supports macOS, I wonder two things:
Is there a standard API to detect a TestFlight build? In general, a TestFlight framework would be HIGHLY desirable
If not, anyone knows a hack like the above that would work for macOS?
I ask because the in-app receipt is called "receipt" even for TestFlight builds on macOS.
Thanks in advance