Post

Replies

Boosts

Views

Activity

Reply to Update of @Published array does not update view
I have been debugging a similar issue (UI become out of sync) with my app, which involves no array. With additional debugging code, I found out that the SwiftUI attempts to update the UI when some values (in @ObservedObject) change, but the new value is not yet available at that time. This is probably associated with a tricky update mechanism in SwiftUI, which uses Combine, which sends the notification before the value change. https://developer.apple.com/forums/thread/128096 My code happened to have the following code and removing this line has solved this issue. @Environment(\.presentationMode) var presentationMode
Aug ’21
Reply to I am not able to restore the system
Here is the additional info. I am running Apple Configurator 2, Version 2.13.1 (5A35): The document says "2.13 beta 1", but it is not available at developer.apple.com The version I am trying to restore to is macOS Big Sur 11 beta 9 from https://developer.apple.com/download/universal/ (UniversalMac11.020A5384c_Restore.ipsw) 3. When I connect DTK (in DFU mode) to my MacBook, a popup appears with following message: Apple Configurator 2 would like to update Device Support for currently connected devices. When I select "Install", it fails with the following message. Installation failed: Can't install the software because it is not currently available for the Software Update server. 4. I drag&dropped the .ipsw file, it starts restoring the device, but eventually fails with the following message: The System cannot be restored on this device. The operation couldn’t be completed. (AMRestoreErrorDomain error 10 - Failed to handle message type StatusMsg) [AMRestoreErrorDomain – 0xA (10)]
Oct ’20