Post

Replies

Boosts

Views

Activity

Reply to Xcode Cloud builds stuck at App Store Connect
Xcode Cloud outages like this are frustratingly common, and usually regard a broken linkage between the build system and App Store Connect. @DTS Engineer Albert, I would discourage you from asking developers to spend time troubleshooting their projects. The problem is on Apple's end 99% of the time, especially when there are multiple reports. Nor would I point to the Developer System Status page as evidence that the system is working. These frequent outages are rarely acknowledged there. Committing to an Xcode Cloud workflow means that these outages are not just an annoyance, they're often a show-stopper. Xcode Cloud is in need of rapid and accurate communication between devs and Cloud engineers, which is objectively not happening. Reports through Feedback assistant often take several days to be acknowledged. Posts here, even when scores of devs pile in, seem to take a day or more to get the attention of the right person. At the very least, could we get an acknowledgement here that "We know and we're working on it"?
2w
Reply to scrollTargetLayout + @FetchRequest causes items to constantly re-initialize
Found the cause and fix, though I don't 100% understand why it's happening. The views in the VStack (PostView in the code above) contained a @SceneStorage property. Removing the @SceneStorage allows the list to scroll quickly, even with .scrollTargetLayout(). No excessive calls to .body. I'm guessing that as the scrolled views come and go, that the @SceneStorarge var was getting marked as changed, even though it wasn't, causing all other cached views to be invalidated? But how does .scrollTargetLayout cause this? Anyway, elevating the @SceneStorage to the containing view, and passing into PostView as a binding, fixed scrolling, and still gives access to that @ScensStorage var.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’24