Post

Replies

Boosts

Views

Activity

iOS 15 and app terminating on start. It does not even look like it is crashing
I just recompiled an app with Xcode 13.1 and deployed it on one of my iPhone running iOS 15.1.1 and when the app starts, it just gets terminated. It happens both if I run it from Xcode or by tapping directly on the app's icon. It looks like the app is not even running and crashing. I checked the console logs and all I can see is stuff like this:     NSUnderlyingError = <NSError: 0x28762b840; domain: FBWorkspaceScene; code: 1; reason: "Client process exited.">; } I tried to wade through the logs that are not errors but I couldn't find anything relevant. Has anyone had this issue before?
1
0
657
Dec ’21
How do you disable the binding of an @ObservedObject when the view disappears?
I have a View that has an @ObservedObject it's bound to to display a List of items. When I tap on an item, I navigate to the next screen that uses the same dataset that the previous View is observing. I would like to disable the binding of the @ObservedObject of the previous View when I navigate to the next, otherwise if the data set changes, it tries to refresh the List of the previous View (which is no longer visible) and the app crashes. How can I achieve that?
0
0
542
Jun ’20